Computer Science, asked by Aafankhan, 1 year ago

Write a c++ peogramme which will display a message "you are a good boy"if you will enter any number <10 elase a message "you are a bad boy"

Answers

Answered by LuckyYadav2578
2
#include<iostream.h>
#include<conio.h>
void main()
{
int a;
clrscr();
if(a>10)
{
cout <<"you are a good boy";
}
else
{
cout <<"you are a bad boy";
}
getch();
}




......hope its help ☆ :)
Similar questions