1. Click on the save icon 2. Name the file 3. select save from the file menu
Answer: False
Explanation:
This code code not deletes element from deq. This insert element at the beginning of deq. if it was deq.pop_front(elem) then it would have deleted the first element.
Therefore, it is false.
Answer: uhm can u explain what ICT is so i can understand the questions pls when i whould gladly help :)
Explanation:
Answer:
for (char i='a'; i<='e'; i++){
for (char j='a'; j<='e'; j++){
cout << i<< j<< "\n";
}
}
Explanation:
The loop runs all characters from the inner while the outer holds one character, by doing so, a will be matched with a,b,c,... Like wise b,c,d,... and on it goes.
In python:
first_grade = float(input("Please input the first grade "))
second_grade = float(input("Please input the second grade "))
third_grade = float(input("Please input the third grade "))
print("The average of the three grades is {}".format( round((first_grade + second_grade + third_grade) / 3,2)))