Answer:
create the integer variable and initialize it to one, with the do statement, increment the variable by one and print it, then the while statement checks if the variable is less than or equal to 10.
#include <iostream>
using namespace std;
int main(){
int i = 1;
do {
cout<< i << "\n";
i++;
}
while (i <= 10);
}
Explanation:
The C++ source code initializes the integer variable i to one and increments and print the value if the value is less than or equal to ten. The do-while statement executes a block of code before the condition is implemented.
Answer: Internet service provider
Explanation:
Answer:
Statement to print phrase "Hello, world" and then start a new line in java.
System.out.println("Hello, world");
Explanation:
In java, we use "System.out.println();" statement to print any string/phrase and then start a new line.The above line will print phrase "Hello, world" and then start a new line.
Implementation in java:
// class definition
class Main
{
// main method of the class
public static void main (String[] args)
{
// statement to print phrase and start new line
System.out.println("Hello, world");
} }
Answer:
do you still need the answer? or am i to lateeee
Explanation:
What was the options they gave you?