Answer:
The ouput of the given code is :
22
is "Tom's age.
Explanation:
Here in this code the variable user_name and user_age are initialized to "Tom" and 22 respectively as statement is given in the question i.e cout << user_age << " \nis " + user_name << "'s age.";.This line will print the user_age i.e 22 after that the control moves to the next line and print is "Tom's age.
Following are the code in c++
#include <iostream> // header file
#include <string>
using namespace std;
int main() // main function
{
string user_name="Tom";
int user_age= 22;
cout << user_age << " \nis " + user_name << "'s age.";
return 0;
}
Output:
22
is "Tom's age.
Answer:
Can i have a points? Tysmm
Explanation:
The second for loop does 1 of 4 iterations for every 1 of 5 iterations of the parent loop. meaning it is 4 x 5 which is 20.
Hello,
Well my advice for Sara when using the web would be 3 things.
1: Never tell anyone where you live,Your name, Or any other personal information.
This is important as it will keep you safe and others that are in your family.
2: Get anti virus hardware on your devise.
This will help to stop bad people, and bugs/glitches,this will also protect you from information thieves.
3: Make sure to keep your passwords saved on paper.
I know a lot of people use, google(ect.) to save there passwords to make everything easy, but a good way to never loss them is to wright them down.
Have a great day!