C++ Basics pinned Β«I'm planning to create a video explanation about flowcharts and algorithms to clarify everything. You can give me a question, and I'll explain it as clearly as possible. Btw, midexam lay maybe 5% mark yemeyezew about this topic nw...Β»
problem solving with c++.pdf
5.9 MB
C++ Reference Book
#Advice
Use this book primarily to understand specific topics that aren't explained in the material, because this book is broad and takes time to read in its entirely. By focusing on what you need, it will be more helpful to you.
@ProgrammingWithFaith
@ProgrammingWithFaith
#Advice
Use this book primarily to understand specific topics that aren't explained in the material, because this book is broad and takes time to read in its entirely. By focusing on what you need, it will be more helpful to you.
@ProgrammingWithFaith
@ProgrammingWithFaith
π5π₯3
If you are not sacrificing something for what you love,you are sacrificing what you love.π«‘
π₯8π2
Forwarded from .
Input a string and count the vowels(a,e,I,o,u) . Algorithm,pseudocode and flowchart.please do me this .
.
Input a string and count the vowels(a,e,I,o,u) . Algorithm,pseudocode and flowchart.please do me this .
#include<iostream>
#include<string>
using namespace std;
int main()
{
string name;
cout << "Enter A text " << endl;
getline(cin,name);
int count=0;
for(int i=0; i<name.length(); i++) {
switch(name[i])
{
case 97:
case 65:
count++;
break;
case 101:
case 69:
count++;
break;
case 105:
case 73:
count++;
break;
case 111:
case 79:
count++;
break;
case 117:
case 85:
count++;
break;
}
}
if(count==0) {
cout << "There is no vowels" << endl;
}
else {
cout << "There are "<<count<<" vowels" << endl;
}
return 0;
}
π5
.
Input a string and count the vowels(a,e,I,o,u) . Algorithm,pseudocode and flowchart.please do me this .
Flowchart ena pseudocode ke tinish seat bewal post adergewalew
π6
C++ Basics
Flowchart ena pseudocode ke tinish seat bewal post adergewalew
I'll do it tomorrow zare ke exam sle wexaw my brain is not functioning well.ππ
π€©6β€3π1
.
Input a string and count the vowels(a,e,I,o,u) . Algorithm,pseudocode and flowchart.please do me this .
Pseudocode
1.Start
2.Accept Input From user
3.Convert String to Lowercase
lowercase_string = convert string to lowercase
4.Variable Initialization
Vowel_count = 0
i = 0
5.Loop through the string
WHILE i < length of lowercase_string:
current_char = lowercase_string[i]
IF current_char is 'a' OR current_char is 'e' OR current_char is 'i' OR current_char is 'o' OR current_char is 'u' THEN
Vowel_count = Vowel_count + 1
END IF
i = i + 1
END WHILE
6.Output the Result
Print "Number of vowels: ", Vowel_count
7.End
1.Start
2.Accept Input From user
Input string3.Convert String to Lowercase
lowercase_string = convert string to lowercase
4.Variable Initialization
Vowel_count = 0
i = 0
5.Loop through the string
WHILE i < length of lowercase_string:
current_char = lowercase_string[i]
IF current_char is 'a' OR current_char is 'e' OR current_char is 'i' OR current_char is 'o' OR current_char is 'u' THEN
Vowel_count = Vowel_count + 1
END IF
i = i + 1
END WHILE
6.Output the Result
Print "Number of vowels: ", Vowel_count
7.End
π4π₯°2π₯1
.
Input a string and count the vowels(a,e,I,o,u) . Algorithm,pseudocode and flowchart.please do me this .
Bexam sry sle koyewππππ
π€4
Life is fleeting if you die you'll be forgotten in a week. so live fully and pursue what you love.
@ProgrammingWithFaith
π4π₯2
Hey, what's up? π
I'm really sorry π I won't have notes ready for today's class because this week has been tough πͺβmid-term exams got me! π I don't think we'll kick off chapter 3 today, but I'm going to whip up a quiz π on chapters 1 and 2 to see how much you all understand! π€β¨
@ProgrammingWithFaith
I'm really sorry π I won't have notes ready for today's class because this week has been tough πͺβmid-term exams got me! π I don't think we'll kick off chapter 3 today, but I'm going to whip up a quiz π on chapters 1 and 2 to see how much you all understand! π€β¨
@ProgrammingWithFaith
π₯2
The quiz will cover last year's mid-term exam and some important concepts.
Should I prepare for it today?
Should I prepare for it today?
π10
C++ Basics via @QuizBot
π² Quiz 'C++ Basics chapter 1 & 2' π 10 questions Β· β± 1 min
Hey guys ezi quiz lay and teyak wrong nw ena delete adergewalew......but sry confuse sle aderkuwachu....prepare saderg nw mistake happen yadergewπππππ
π1
3. Which of the following is NOT a characteristic of a well-defined algorithm?
a) Unambiguous instructions.
b) A finite number of steps.
c) The use of random numbers at every step.
d) A clear starting and ending point.
Answer C.
Use of random numbers at every step make it the algorithm unpredictable and unreliable.
a) Unambiguous instructions.
b) A finite number of steps.
c) The use of random numbers at every step.
d) A clear starting and ending point.
Answer C.
Use of random numbers at every step make it the algorithm unpredictable and unreliable.
π2
Join Jimma Universityβs Biggest TechFusion Club!
π₯ Membership Registration is Open NowβNetwork, Learn & Innovate with the Best!
π’ Limited Spots! Apply Today β‘οΈ Registration link
#TechFusionJU #JoinNow
π₯ Membership Registration is Open NowβNetwork, Learn & Innovate with the Best!
π’ Limited Spots! Apply Today β‘οΈ Registration link
#TechFusionJU #JoinNow
π₯3π2
Anyone who is interested can apply.
Don't miss this opportunity.π
Don't miss this opportunity.π