Answer:
try declarimg smt before the int eg answer=int(input("your answer"))
Answer:
C++ code is given below
Explanation:
#include<iostream>
#include <cstring>
using namespace std;
int housekeeping(string EOFNAME);
int mainLoop(string name,string EOFNAME);
int finish();
void main()
{
string name;
string EOFNAME = "ZZZZ";
cout << "enter the name" << endl;
cin >> name;
if (name != EOFNAME)
{
housekeeping(EOFNAME);
}
if (name != EOFNAME)
{
mainLoop(name , EOFNAME);
}
if (name != EOFNAME)
{
finish();
}
system("pause");
}
int housekeeping(string EOFNAME)
{
cout << "enter first name " << EOFNAME << " to quit " << endl;
return 0;
}
int mainLoop(string name, string EOFNAME)
{
int hours;
int rate,gross;
int DEDUCTION = 45;
int net;
cout << "enter hours worked for " << name << endl;
cin >> hours;
cout << "enter hourly rate for " << name << endl;
cin >> rate;
gross = hours*rate;
net = gross - DEDUCTION;
if (net > 0)
{
cout << "net pay for " << name << " is " << net << endl;
}
else
{
cout << "dedections not covered.net is 0.";
}
cout << "enter next name or " << EOFNAME << " to quit" << endl;
cin >> name;
return 0;
}
int finish()
{
cout << "end of job"<<endl;
return 0;
}
Answer:
creating smartphone apps
Explanation:
Xcode, Swift, and Appy Pie are all tools for creating iOS applications.
These tools are used for app development in the iOS platform which is a rival to the Android platform.
They are used to build the apps from scratch, develop and test them,
Answer:
The Encryption solution that best prevents a competitor from receiving confidential information is the SSL(secure Socket Layer) Or TLS(Transport Layer Security).
Explanation:
Solution:
From my own perspective the encryption solution that i will use that prevents s a competitor from receiving confidential information and justify the recommendation is the SSL(secure Socket Layer) Or TLS(Transport Layer Security).
This is because in this case we have to share data confidentially (information need to be hidden from Unauthorized security access. also these provides the Transport Layer security that we needed in above example above.
The purpose of these protocol is to provide server and client authentication, Data confidentiality,and Data integrity (protected from unauthorized change). Application Layer client/server program such as HTTP that uses the service of TCP can encapsulate their data in SSL Packets.
SSL (Secure Socket Layer): is defined as the normal technology for protecting an internet connection secure and defend any sensitive data that is being sent between two systems, and not allowing criminals from reading and changing any information sent, including potential personal details.
TLS (Transport Layer security): It is a procedure that allows data integrity and privacy over Internet communications.
Answer:
In Python:
name = "Arthur"
age = "62"
print("Hi! My name is "+name+" and I am "+age+" years old")
Explanation:
Given
See attachment
Required
Write a code to introduce yourself
Initialize name
name = "Arthur"
Initialize age
age = "62"
Print introduction
print("Hi! My name is "+name+" and I am "+age+" years old")