Answer:
Data processing system
Explanation:
Data processing systems DPSs are digital systems that receives data, processes it and use the information to control semi-automated machineries. In the past, the DPS receives digital data or one instruction at a time from a punched card.
Answer:
The pseudocode is as follows:
Input num1, num2
input operator
print num1 + num2
print num1 - num2
print num1 * num2
if num2 != 0
print num1 / num2
else
print "Cannot divide by 0"
Explanation:
This gets input for both numbers
Input num1, num2
This gets input for the operator
input operator
This prints the sum
print num1 + num2
This prints the difference
print num1 - num2
This prints the product
print num1 * num2
This prints the division if the divisor is not 0
<em>if num2 != 0</em>
<em> print num1 / num2</em>
<em>else</em>
<em> print "Cannot divide by 0"</em>
<em />
Answer:
c,a,c using the drop down menus edge 2021
GOODLUCK
Explanation:
Answer:
Code in C++
Explanation:
C++ Code
#include<iostream> //for input and output
using namespace std;
int main()
{
int hour;
int minute;
cout<<"Enter the hour:";
cin>> hour;
cout<<"Enter the minute:";
cin>>minute;
minute = minute+15;
if(minute>=60){
hour++;
minute=minute-60;
}
if(hour>=24){
hour=0;
}
cout<<"Hours: "<<hour<<endl;
cout<<"Minutes:"<<minute;
return 0;
}
Code Explanation
First we need to declare two int variables to hold hour and minute values input from user.
Check if by adding 15 minutes into minute entered by user is greater then or equal to 60 then increment into hour and subtract 60 from minute.
Another check is that if user enters more then 24 hour or by making increment into hour, the hour values i greater then or equal to 24 then we need to change the hour to 0.
Result
Case 1:
Enter the hour:8
Enter the minute:15
Hours: 8
Minutes:30
Case 2:
Enter the hour:9
Enter the minute:46
Hours: 10
Minutes:1