1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
alina1380 [7]
3 years ago
9

Write a program that computes and displays a 15 percent tip when the

Computers and Technology
1 answer:
Anuta_ua [19.1K]3 years ago
5 0
Your question wasn't very clear, but I think I understand what you want. Additionally, you should really state what language you're working with. Here it is in C#, and shouldn't be too much of a hassle to translate in to other languages.


Console.Write("Enter payment: ");

float payment;

if (float.TryParse(Console.ReadLine(), out payment))
    Console.WriteLine((Math.Floor(payment * 100) / 100) * 0.15, + " at 15% tip.");
else
    Console.WriteLine("Invalid input.");
You might be interested in
Rite a c++ function, smallestindex, that takes as parameters an int array and its size and returns the index of the first occurr
joja [24]
This is it a question
8 0
4 years ago
Write a function isCString which accepts as arguments a const pointer to a char array and an integer for the size of the array
Umnica [9.8K]

Answer:

Mnnmnkjhsgxlsjzgxfckabxvzuajs

7 0
2 years ago
As you apply to college when should you apply for financial aid
Nataliya [291]

Answer:

after you are accepted in the college

Explanation:

You should apply for admission to the colleges you are interested in BEFORE filing your FAFSA. Once you are accepted to the colleges you have applied to, you can add those schools to receive financial aid award offers from when you file your FAFSA.

4 0
4 years ago
Which of the following would be considered hardware? Select 3 options.
Vilka [71]

Answer:

CPU, printer, peripherals

Explanation:

Keep in mind hardware is parts you can add to the computer. Other examples are monitor, keyboard, mouse.

Microsoft Office and the operating system are software.

8 0
3 years ago
How do you use the Internet? Think about your typical day. When are you using the Internet? For what purposes? What role does it
Basile [38]

Answer:

I use the internet for a variety of activities. In a typical day, I'd use the internet to do the following:

  1. I check my email
  2. follow the latest trends and news on popular social media channels
  3. communicate with friends, family and clients via social media channels
  4. I research business topics
  5. I use it for my work as a management consultant

The internet is now a primary utility. I currently spend more on internet data subscription than on fuel, electricity, phone call credit, and even water. It now has a tremendous impact on my daily life.

Cheers

5 0
3 years ago
Other questions:
  • Most Answers MOST ANSWERS
    11·2 answers
  • Esther has acquired an associate's degree in information technology and certifications in PageMaker and Illustrator. Which caree
    8·2 answers
  • Which option allows you to add different effects for each of the bulleted items on your slide
    13·1 answer
  • I have to writea piece of code to calculate the factorial of somewhat large numbers so the long long type won't suffize, so usin
    7·1 answer
  • 1. The best program to present numerical data in would be ____. a. Access c. PowerPoint b. Excel d. Word
    6·1 answer
  • Write the definition of a function named rotate4ints that is passed four int variables. The function returns nothing but rotates
    9·1 answer
  • What is the Documenter?
    10·1 answer
  • An operating environment for a computer is ____, free of potential contaminants, and with the temperature and humidity range spe
    9·1 answer
  • What are the types of micro computer?​
    14·2 answers
  • Which one of the following document types would you not use the Microsoft Excel program to create?
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!