So, 5 is intered.
Line 1: num will recieve the integer 5
Line 2: Blank
Line 3: num will recieve 1, wich is the remainer of the division of 5 by 4.
Line 4: will return true, since num is indeed equal to 1.
Line 5: Will print "A"
Line 6: Will return false
Line 7: Gets jumped
Line 8: Will return false
Line 9: Gets jumped
Line 10: Will return false
Line 11: Gets jumped
Line 12: Will return false
Line 13: Gets jumped
The only OUTPUT is "A".
Answer:
#include <iostream>
using namespace std;
int main ()
{
int num;
cin>>num;
cout << num<< " " << 2 num << " " << numnum;
return 0;
}
Explanation:
See answer
Is there like a graph or something I can look at because then I can help you
Answer:
30cm
Explanation:
Height X Base
6cm X 10cm
60cm
Then take half because a triangle is half a square and we are using a square formula.
60cm divided by 2
=30cm