How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask Hirash Riyal Your Own Question

Hirash Riyal
Hirash Riyal, Computer Software Engineer
Category: Programming
Satisfied Customers: 184
Type Your Programming Question Here...
Hirash Riyal is online now
A new question is answered every 9 seconds

Write an If-Then statement that sets the variable hours to

This answer was rated:

Write an If-Then statement that sets the variable hours to 10 when the flag variable minimum is set.

prompt user to set the flag_variable

Read flag_variable from user

If Isminimum( flag_variable) then


End IF



Customer: replied 7 years ago.
Needs to look like psedocodegraphic

1//Declaretwo variables To hold flag and hour

2 Declare Integer flag

3 Declare Integer Hour

4 // prompt user to set the flag

5 Didplay "Set The Flag Amount"

6 input flag

7 If IsMinimum(Flag) Then

8 Hour=10

9 End If


Hirash Riyal and 2 other Programming Specialists are ready to help you

Related Programming Questions