Answer:
// here is code in c++.
// include header
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{
// variables to read input
int userNum,x;
cout<<"enter the value of userNum and x :";
// read the input from user
cin>>userNum>>x;
// divide the userNum with x 4 times
for(int a=0;a<4;a++)
{
userNum=userNum/x;
cout<<userNum<<" ";
}
cout<<endl;
return 0;
}
Explanation:
Declare two variables "userNum" and "x". Read the value of these. Run a for loop 4 time and divide the "userNum" with "x" and print the value of "userNum".
<u>Output:</u>
enter the value of userNum and x :2000 2
1000 500 250 125
Downloads? It sounds like that might be the answer. Idk.
Explanation:
The requirements would be that the receptionist robot detects the incoming person and speak;
<em>Good morning (based on time), Welcome to XYZ organization. How can i help you. Do you need to visit HR, finance, marketing, sales, engineering etc representative or other function?</em>
Now based on that a visitee information is printed out.
Limitation
A person comes who does not understand what robot speaks
Interaction with existing dialogue would be made possible through speech recognition system
The system will work well as speech recognition has now been used in many functions and robots have also now become quite advanced
Answer:
You should use an "if" statement to check whether the number is greater than 18 or less than 65.
Explanation:
You usually use "if" statements whenever you want to compare a number to another. Keep in mind that "if" statements are not only used for comparison!
Answer:
The output of the given code is 50.