Answer:
The program in C++ is as follows:
#include <iostream>
using namespace std;
int perimeter(int side1, int side2, int side3){
return side1+side2+side3;
}
struct Triangle {
int side1; int side2; int side3;
};
int main(void) {
int side1, side2, side3;
cout<<"Sides of the triangle: ";
cin>>side1>>side2>>side3;
struct Triangle T;
T.side1 = side1;
T.side2 = side2;
T.side3 = side3;
cout << "Perimeter: " << perimeter(T.side1,T.side2,T.side3) << endl;
return 0;
}
Explanation:
See attachment for complete code where comments are as explanation
Answer:
a) [00:05:00]
Explanation:
Timestamps are markers in a transcript which are used to represent when an event took place. Timestamps are in the format [HH:MM:SS] where HH is used to represent hour, MM to represent the minute and SS to represent the seconds. They are different types of timestamping such as:
i) Periodic time stamps: Occurs at a consistent frequency
ii) Paragraph time stamping: At the beginning of paragraphs
iii) Sentence time stamp: at the beginning of sentence
iv) Speaker time stamp: at change of speaker.
Since a part of 5-15 minutes with time-stamping (every 30 seconds), The time stamping should start at 5 minute [00:05:00] and end at [00:15:00]. This is a periodic time stamp since it occurs every 30 seconds, this means the next time stamp would be [00:05:30] and this continues until 15 minute [00:15:00]
A. Data Type.
Data Types can be integers, strings, chars, shorts, ect, and describes what types of values can be stored.
When one is typing on MS word and one save the file, this data would be stored as combination of 1s and 0s in the computer.
- Computer data storage can be regarded complex system, immediately a data is saved then;
- The first be converted to simple numbers of 1s and 0s , this number are very easy for a computer to store and these number are regarded as Binary Numbers and all letters as well as photographs are converted to numbers,
- The hardware will record this saved numbers inside the computer.
- These numbers are then organized and transferred to temporary storage which be manipulated by programs, or software.
Therefore, data are been stored as 1s and 0s in the computer.
Learn more at:brainly.com/question/21571591?referrer=searchResults