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
konstantin123 [22]
3 years ago
15

Write a program that will read the weight of a package of breakfast cereal in ounces and output the weight in metric tons as wel

l as the number of boxes needed to yield one metric ton of cereal. In: A metric ton is 35,273.92 ounces.
Computers and Technology
1 answer:
almond37 [142]3 years ago
3 0

Answer:

The C++ code is given below

Explanation:

#include <iostream>

using namespace std;

int main () {

int flag=1;

do{

double ounce,metric,boxes;

cout<<"Enter weight of package in ounces: ";

cin>>ounce;

metric=ounce/35273.92;

cout<<"Metric ton is "<<metric<<endl;

boxes=35273.92/ounce;

cout<<"Number of boxes are: "<<boxes<<endl;

cout<<"Press 0 to quit else press 1: ";

cin>>flag;

}while(flag==1);

return 0;

}

You might be interested in
Read the scenario below. Explain why this is not fair use of copyright materials. What should you do instead of using the entire
Thepotemich [5.8K]

Answer:

You did not buy the rights to the copyrighted material when you bought it from Apple Music

Explanation:

When you bought the song from Apple Music, you paid them for your using of the song to listen to, as stated in the agreement that you wouldve been required to agree to. Apple is only allowed to provide the material for personal use to its users, with it part of its fees going to the original copyright holders.

8 0
4 years ago
Students at a residence hall are reporting internet connectivity issues. The university’s network administrator configured the r
alisha [4.7K]

Answer: D) DHCP snooping

Explanation:

 DHCP stand for the dynamic host configuration protocol and it is basically use as the DHCP server. It provide the IP address to each device in the network and it is used to communicate with the other IP network.

According to the question, the student device basically receive the IP network and it is an unauthorized DHCP server which uses denial of service attack for several purposes.

DHCP snooping is basically use to prevent from such unauthorized device which gives the IP address to the clients. DHCP is the two layer security system technology that is bulit in the operating system.

7 0
3 years ago
What is the process called when programmers look for and fix errors in code?
AveGali [126]

Answer:

d

Explanation:

7 0
3 years ago
Read 2 more answers
I am the biggest and most important part of data storage hardware. I am about the size of a small book and store critical things
inn [45]

Answer:

HDD (Hard drive disk) or SSD (Solid state drive)

Explanation:

8 0
2 years ago
A storyboard is used to outline the sequence of key content on a website
juin [17]

Answer:

what else is there

Explanation:

6 0
3 years ago
Other questions:
  • Jessica has pinned her favorite applications as icons on her desktop. She always clicks on these icons to work on them. Which us
    10·1 answer
  • Fill in the missing statements or expressions in the following code that checks to ensure that a user enters an integer value at
    11·1 answer
  • The united states attempted to halt the communist revolution in cuba by​
    7·1 answer
  • How would you describe by adding comments to the coding explaining that you know what int num1 = 10; int ave = (num1+num2+num3)/
    10·1 answer
  • If a computer is found to have an ip address of 169.254.1.1, what can you assume about how it received that ip address?
    11·1 answer
  • Why is time management considered a soft skill
    10·2 answers
  • What are the benefits of transferable skills check all the boxes that apply
    6·2 answers
  • Which technique emphasizes the participative development among system owners, users, designers, and builders?A) Rapid applicatio
    11·1 answer
  • Create a winform application that lets the user enter a temperature. With a ComboBox object offer the user three choices for inp
    9·1 answer
  • What is containment and why is it part of the planning process
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!