Question

Write a C++ program that will print Mihi cura futuri 10 times. The output of your program should be: Mihi cura futuri Mihi

0 0
Add a comment Improve this question Transcribed image text
Answer #1
#include <iostream>

using namespace std;

int main() {
    for (int i = 0; i < 10; ++i) {
        cout << "Mihi cura futuri" << endl;
    }
    return 0;
}

Mihi cura futuri Mihi cura futuri Mihi cura futuri Mihi cura futuri Mihi cura futuri Mihi cura futuri Mihi cura futuri Mihi c

Add a comment
Know the answer?
Add Answer to:
Write a C++ program that will print "Mihi cura futuri" 10 times. The output of your program should be: Mihi cura futuri Mihi cura futuri Mihi cura futuri Mihi cura futuri Mihi cura futuri Mih...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Write a program that inputs a text file. The program should print the unique words in...

    Write a program that inputs a text file. The program should print the unique words in the file in alphabetical order. Note: The sort function sorts first numbers, then capital letters, then lowercase letters. That is fine for this assignment as you can see from the sample output. But even if the same word appears multiple times in the file it should only be displayed once in the output. (python)

  • In C: Write a program that will compute and print a table of the factorials from...

    In C: Write a program that will compute and print a table of the factorials from 1 to 12. The program should define a function called fact to compute the factorial, use loops where appropriate, and produce the following output: 1 1 2 2 3 6 4 24 5 120 6 720 7 5040 8 40320 9 362880 10 3628800 11 39916800 12 479001600

  • ssembly Language Programming with x86, IRVINe MASM 1. Write a program to add 7 12 times...

    ssembly Language Programming with x86, IRVINe MASM 1. Write a program to add 7 12 times and print out the result ------------------------------------------------------------------------------- Write a program to print and add 10 20 30 40 50   ; you can use a loop The output should be “The sum of 10 20 30 40 50 ”

  • Summary In this lab the completed program should print the numbers 0 through 10, along with...

    Summary In this lab the completed program should print the numbers 0 through 10, along with their values multiplied by 2 and by 10. You should accomplish this using a for loop instead of a counter-controlled while loop. Instructions Write a for loop that uses the loop control variable to take on the values 0 through 10. In the body of the loop, multiply the value of the loop control variable by 2 and by 10. Execute the program and...

  • Write a c++ program as follows. Print the list of runners and times as example below....

    Write a c++ program as follows. Print the list of runners and times as example below. Then print the name of the fastest runner and his/her time (in hours and minutes). Also, find the second fastest runner. Print the name and his/her time (in hours and minutes). The program should have a method that takes as input an array of integers and returns the index corresponding to the person with the lowest time. The program should apply this method to...

  • Write a program that asks the user for the name of an image, the name of an output file. Your pro...

    Write a program that asks the user for the name of an image, the name of an output file. Your program should then save the upper right quarter of the image to the output file specified by the user. A sample run of your program should look like: Enter image file name: hunterLogo.png Enter output file: logOUR.png which would have as input and output: HUNTER ITER The City University of New York Hint: See sample programs from Lectures 3 and...

  • write in c programming Write a C program that reads in up to 10 numbers into...

    write in c programming Write a C program that reads in up to 10 numbers into an array. The program should count the number of duplicate elements within that array and print the result. Example test data and expected output is given below Test Data: [2,1,1,2,1,3, 4] Duplicates:

  • write a pyhton program 3. If the user enters 1; a. it will print the selected...

    write a pyhton program 3. If the user enters 1; a. it will print the selected choice as below: (5p) Select an option please (1 or 2) : 1 Your choice is : 1 b. If the entered number is 1, then it should ask user to enter first second and third numbers one after another in series) as shown below: (10p) Enter first number : Enter second number : Enter third number : 3 7 10 C. Just after...

  • Write a Java program to print the result of the following operations. Your program should contain...

    Write a Java program to print the result of the following operations. Your program should contain 4 methods (for each of given data sets). Yes, methods here is not structurally necessary, this requirement is only for you to get practice writing methods. Test Data: a. -5 + 8 * 6 b. (55+9) % 9 c. 20 + (-3)*5 / 8 d. 5 + 15 / 3 * 2 - 8 % 3 Your program:

  • WRITE A PROGRAM IN C++ , YOUR PROGRAM SHOULD PROMT THE USER FOR THE NUMBER OF...

    WRITE A PROGRAM IN C++ , YOUR PROGRAM SHOULD PROMT THE USER FOR THE NUMBER OF SUITOR AND YOU SHOULD DISPLAY THE OUTPUT SIMILAR TO THE IMAGE.. SHOULD HAVE PRINTED OUT THE BEFORE AND AFTER ERASE..... using class function in c++ to return the erase value.

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT