Answer:
See explaination
Explanation:
//Array to store prices
INT PRICE[10][10]
//Loop through 2d array
FOR I FROM 0 TO 10
FOR J FROM 0 TO 10
//Populate a random int
PRICE[I][J] = RANDOM_INT(99,1999)
PRINT(PRICE[I][J]+" ")
PRINT()
//Prompt user for desired price
COST = READ_INPUT('Please enter your desired flight price: ')
//Variable to store if a match is found
MATCH = FALSE
//Loop through all ints in price
FOR I FROM 0 TO 10
FOR J FROM 0 TO 10
//Compare price with Cost
IF PRICE[I][J]==COST
MATCH = TRUE
BREAK
//Check if match is true
IF MATCH = TRUE
PRINT('A flight was found for that price, have a safe trip!')
ELSE
PRINT('No flight was found for that price, please try a new price.')
Google, would be the best because of all of the different site, hope this helps!
: )
Answer:
Around seven billion people