Answer:
- Absence of control statements
Explanation:
In the research of software development in 1970 it is found that there are two deficiencies.
1 Absence of type checking
The researcher sees that there is a fault in the type checker we can not convert one datatype into the other data type also it gives error in converting the one datatype into another.
2 Absence of control statements
The control statement plays an important role in the programming language . When the condition of the multiple arises then in that condition we used the control statement .in 1970 their is deficiencies of control statement.
Hence type checking and control statements are the two programming language deficiencies which are found by the researcher in software development of 1970.
Answer:
// here is code in c++.
// include headers
#include <bits/stdc++.h>
using namespace std;
// function that calculate days, hours, minutes and seconds
void howLong(int sec)
{
// find days
int days=sec/86400;
// update the seconds
sec=sec%86400;
// find hours
int h=sec/3600;
// update the seconds
sec=sec%3600;
// find minutes
int min=sec/60;
// update the seconds
sec=sec%60;
// output
cout<<sec<<"seconds is "<<days<<" days,"<<h<<" hours,"<<min<<" minutes,and "<<sec<<"seconds."<<endl;
}
// driver function
int main()
{ // variable
int sec;
cout<<"Enter seconds:";
// read the seconds
cin>>sec;
// call the function
howLong(sec);
return 0;
}
Explanation:
Read the seconds from user.Then call the function howLong() with parameter seconds. In the function, it will first find the number of days by dividing the seconds with 86400 then update the remaining seconds.Next it will find the hours by dividing the remaining seconds with 3600 and update the remaining seconds.After that it will find the minutes by dividing the remaining seconds with 60 and update the remaining second.Then it will print the days, hours, minutes and seconds.
Output:
Enter seconds:70000
40seconds is 0 days,19 hours,26 minutes,and 40seconds.
I believe the answer is systems.