CIS115- Week 1 Lab

 

     The variable X = hot water

 

     The variable Y = coffee grounds

     Adding = stirring

     Add X and Y in a cup, and store the result in Y.

     Display the value in Y on the screen.

 

Output #1:

Cup of Coffee

 

 
 

Pseudocode  #1:

var   x = hot water

var   y = coffee gorunds

y = x+y
Powered by