Answer:
#include <iostream>
using namespace std;
int main()
{
int i = 45;
for ( i = 45; i <=165; i = i + 6)
cout << i << endl;
}
Explanation:
I corrected your code and highlighted the mistakes. Even though you wrote the correct algorithm, your code did not compile because of the typos you made.
Remember, C++ is a case-sensitive language. That means, "For" is not same as "for".
Generally, variables and keywords are written in lower case. Of course, there are exceptions, such as constant variables are all written in uppercase letter and class names start with an uppercase letter.
Answer:
Explanation:
All the pirates uses their individual key and lock for the locking down of each the four sides of the lid of to the chest. Among the pirates, if three of them decides to open their latches, they can be able to lift the top by essentially using the fourth (locked) latch as a hinge to open the top. (We have several solutions or ways to do this.)
<span>The Answer is C. Right-click row 21's row number, and then click Insert.
</span>
#1 is A and #2 is B, but I don't know about #3 and #4.
In Java programming, the <u>%s</u> format specifier can receive any type of Java data.
<h3>The kinds of data type.</h3>
In Computer programming, there are five recognized data types and these include:
- Floating point type (float).
<h3>What is a string?</h3>
A string is a data type which is typically used for data values that comprises ordered sequences of characters.
In Java programming, strings can be used to represent all Java data types such as numbers, Boolean, strings, etc. Also, the <u>%s</u> format specifier can be used by a programmer or software developer to receive any type of Java data.
Read more on a string here: brainly.com/question/25619349