Assignment : L1
Output & Variables
Ques: How can you output “Physics”and
“Wallah” in two different lines in C++?
Ques: Print 10 using 2 positive numbers less than
6 in C++ as output.
Ques: How much space does following data types
take ?
1. int
2. bool
3. float
Ques: What is the output of this program?
void main(){
int a=4;
int b=5;
a<+;b<-;
cout<<<+a<<” “<<b–-;
}
Ques: WAP to find the circumference of a circle
with radius 10 in C++.
Ques: How many of these can be a variable name?
01PWskills
_FLOAT
int
FLOAT
You will succeed
THANK YOU