Printout the output program in c++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Printout the output program in c++

example i input title book to program and the program ask me printout or no if yes output return Print from printer

12th Mar 2017, 1:56 PM
Akinari Inihara
Akinari Inihara - avatar
1 Answer
+ 14
main() { clrscr(); //after all other coding required 4 it cout<<"Printout or no"; cin>>c; if(c=='Y'&&c=='y') { cout<<"Print from printer"; } }
12th Mar 2017, 2:36 PM
Mansi Dagla
Mansi Dagla - avatar