0
Pease help to creat c++ program!?
How to write a c++ program that prints the numbers from 0 ( zero ) to 50 increasing by 5 , when the number reaches 25 there must be written " twenty five " ( Must be used " while " loop)
5 Antworten
+ 6
Please post your attempts at solving the problem before asking for code.
+ 4
Anzerahmedkhan Zakirahmedkhan you forgot i + 5
+ 2
Ohh yah but my phone keyboard is so much wrost.. 😁
+ 1
While(i<=50)
{
cout<<i;
if(i==25)
{
cout<<twenty-five ;
}
}
Some syntax errors in this because i am just explaining. The if statement will work here to print twenty-five.