The ETM machine How select
🏧cash from In side having birr ?
Write program .. or Tell me some hint.
C++, java...so on
If you give a solution you have 25 cards.
🏧cash from In side having birr ?
Write program .. or Tell me some hint.
C++, java...so on
If you give a solution you have 25 cards.
👍3
📘BATCH OF STUDENT
The ETM machine How select 🏧cash from In side having birr ? Write program .. or Tell me some hint. C++, java...so on If you give a solution you have 25 cards.
Ok Give You some hint..
Using an array , For loops, if .. else,, and function..
Using an array , For loops, if .. else,, and function..
👍2❤1
Forwarded from 📕📕 Book stores
C++ from the Ground UP-Textbook.pdf
2.3 MB
Printe ethio tellecom..
Mobile card sequence
5-500
eg
5 10 15 25 50 100 200 500
restriction not use array;
Mobile card sequence
5-500
eg
5 10 15 25 50 100 200 500
restriction not use array;
#include <iostream>
using namespace std;
int main()
{
int initial=0, current= 5 , value , number= 3;
//cout << "item of mobile card number" <<endl;
//cin>> number;
for (int i=1; i<= number; i++ ){
value= initial + current;
cout<<"numbers of "<< value<< " "<<endl;
initial= value;
}
return 0;
}
using namespace std;
int main()
{
int initial=0, current= 5 , value , number= 3;
//cout << "item of mobile card number" <<endl;
//cin>> number;
for (int i=1; i<= number; i++ ){
value= initial + current;
cout<<"numbers of "<< value<< " "<<endl;
initial= value;
}
return 0;
}
👍2
but this works only in sequence numbers, how to jump 20 and continues.