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
AveGali [126]
3 years ago
11

Ingredient Adjuster

Computers and Technology
1 answer:
Semenov [28]3 years ago
7 0

Answer:

#include <iostream>

using namespace std;

int main(){

float cookies=0;

float sugar=1.5;

float butter=1;

float flour=2.75;

cout<<"how many cookies do you want: "<<endl;

cin>>cookies;

float num = cookies/48;

cout<<num<<endl;

cout<< "to make " << cookies<<"cookies you need: "<<endl;

cout<<"sugar cups: "<<num*sugar<<endl;

cout<<"butter cups: "<<num*butter<<endl;

cout<<"flour cups: "<<num*flour<<endl;

return 0;

}

You might be interested in
Describe the following types of data hazards. RAW WAR WAW
aleksandr82 [10.1K]

Answer: Data hazards are the factor behind the damage/problem created in the data of the CPU . There are three types of data hazards which are as follows:-

By considering two element "A" and "B"

  • RAW(Read after write)- If the element A tries to read the value before the element B has written it then element A will receive the previous value which is accordingly incorrect .
  • WAR(Write after read)-Element B write a value for element A which not read by it.So, it incorrectly gets a new destination assigned.
  • WAW(Write after write)-Element B tries to write the value for the element A before element A writes it, thus creating a hazard.

5 0
3 years ago
What is an example of how pseudo - randomness is used to creative variation​
Hitman42 [59]

its just one word pseudorandom not a space in the middle

3 0
3 years ago
define a function named quarter_num that has one parameter number and return quarter of the number. For example: if we called th
IgorLugansk [536]
Idk what programming language you use so

private int quarter_num(int num) {
return num / 4;
}
3 0
3 years ago
Consider the following short paragraph: On a computer with a single core CPU, attempting to program real concurrency between two
fgiga [73]

Answer:

It is all true.

Explanation:

All the statements of the paragraph are true.  

7 0
3 years ago
A UI text element must be added to ______.an empty background container game objecta prefaba slot game objecta tray objecta canv
barxatty [35]

Answer:

canvas

Explanation:

The answer to this question is that A UI text element must be added to a canvas. The canvas is that area that all the unity items (UI) have to be inside.

We insert the Text UI element when we move to the hierarchy of the scene from create we move to UI and then to text.

After all these have been done, we will get a text element which have been added in the Canvas region.

5 0
3 years ago
Other questions:
  • When you are shopping online and finalizing your order, you usually fill in forms for your name, address, email, and payment met
    6·1 answer
  • Which of the following are examples of algorithms? (Select all that apply, if any do.)
    15·2 answers
  • Side mirror using convex mirror or concave mirror?​
    5·2 answers
  • What lie does E.D. tell to keep the musical from being canceled? There is a television crew coming to do a story on it. Jake wil
    6·1 answer
  • What are the advantages of repeating a header row? check all that apply
    14·1 answer
  • Which searching method requires that the list be sorted?
    5·1 answer
  • All web page urls begin with the letters ____.
    6·1 answer
  • What can hack or code can I use to get a shadow or frost dragon in adopt me
    6·2 answers
  • Briefly describe the traditional definition of the digital divide. What is it and who is affected, positively and adversely? How
    15·1 answer
  • What is the output of this program? Assume the user enters 2, 5, and 10.
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!