Answered Same DayJul 09, 2021Torrens University Australia

Answer To: order 42204

David answered on Jul 09 2021
163 Votes
Solution/Module 1.1 Activities/Activity_1.1_1.cpp
#include
#include
using namespace std;
int main()
{
cout
<< "My Name is :Akshay Sharma";
cout << "\n";
cout<<"My Address is :111, Stephen Street Blacktown NSW Sydney";
}
Solution/Module 1.1 Activities/Activity_1.1_2.cpp
#include
#include
using namespace std;
int main()
{
string fName,lName;
cout << "What is your first name? ";
cin >> fName;
cout << "What is your last name? ";
cin >> lName;
cout << "Hello, " << fName << " " << lName;
}
Solution/Module 1.1 Activities/Activity_1.1_3.cpp
#include
#include
using namespace std;
int main()
{
string fName,lName;
cout << "Two bytes meet. The first byte asks, 'Are you ill?' \nThe second byte replies, 'No, just feeling a bit off.'\n";
cout << "\nPlease Enter first name: ";
cin >> fName;
cout << "Please Enter second name: ";
cin >> lName;
cout << "Hello " << fName << " and " << lName << ", I hope you liked my joke ";
}
Solution/Module 1.2 Activities/Activity_1.2_1.cpp
#include
using namespace std;
int main()
{
int whlFirstNum, whlSecondNum,totalSum;
cout << "Welcome! This program asks for two "
<< "numbers, then calculates the sum "
<< "of the first and second...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here