As I found out last week, Cryston and probably more of you guys are actually quite proficient with C++, Java, etc.
So if you guys want, you can help me out with my projects for my C++ class. Using Microsoft Visual Studio 2010 or 2008 I have to make these projects.
1. Write a program that asks for first name, last name, and birth year then prints thefull name and age based on the input. The program should look like the following when run:
What is your first name? John
What is your last name? Doe
What is your birth year? 1995
Hello John Doe you are either 15 or 16 years old.
2. Write a program that asks for 3 numbers between 1 and 6 digits in length. The program should print the three numbers so that they are aligned. The program should look like the following when run:
Enter three numbers, each between 1 and 6digits: 123 12 123456
123
12
123456
3. Write a program that divides two integers but outputs the result as a float or double. Use static_cast tomake sure the result is accurate. The program should look like the following when run:
Enter integer 1: 5
Enter integer 2: 4
5 divided by 4 is 1.25
This is only project 2 so this stuff is still reallly simple. If you wanna help just post <object class="emojione" data="https://resources.enjin.com/1489581540/themes/core/images/emojione/svg/1f642.svg?0" type="image/svg+xml" standby=":)">:)</object> thanks
So if you guys want, you can help me out with my projects for my C++ class. Using Microsoft Visual Studio 2010 or 2008 I have to make these projects.
1. Write a program that asks for first name, last name, and birth year then prints thefull name and age based on the input. The program should look like the following when run:
What is your first name? John
What is your last name? Doe
What is your birth year? 1995
Hello John Doe you are either 15 or 16 years old.
2. Write a program that asks for 3 numbers between 1 and 6 digits in length. The program should print the three numbers so that they are aligned. The program should look like the following when run:
Enter three numbers, each between 1 and 6digits: 123 12 123456
123
12
123456
3. Write a program that divides two integers but outputs the result as a float or double. Use static_cast tomake sure the result is accurate. The program should look like the following when run:
Enter integer 1: 5
Enter integer 2: 4
5 divided by 4 is 1.25
This is only project 2 so this stuff is still reallly simple. If you wanna help just post <object class="emojione" data="https://resources.enjin.com/1489581540/themes/core/images/emojione/svg/1f642.svg?0" type="image/svg+xml" standby=":)">:)</object> thanks