+ 2

#include <iostream> using namespace std; int main(){ int age; cout<<"Please enter age"; cin>>age; int group; while(ag

how to solve it

17th Sep 2020, 5:32 AM
Nurul Izzati
Nurul Izzati - avatar
3 Respostas
+ 3
I don't know what Output you expecting through this program please clarify your question i have completed your code but solve for printing age if you tell your input and output format then we will try to help out. See this program #include <iostream> using namespace std; int main(){ int age; cout<<"Please enter age"; cin>>age; cout<<"Entered age is ="<<age; return 0; }
17th Sep 2020, 6:15 AM
A S Raghuvanshi
A S Raghuvanshi - avatar