1. Write a C+ program to • Read the Phone Number (PN) from the user • Check the Phone Number and print the corresponding Destination as given in Table 1 (a) using if else statement. Table 1 (a) Phone...


1. Write a C+ program to<br>• Read the Phone Number (PN) from the user<br>• Check the Phone Number and print the corresponding Destination as given in Table 1<br>(a) using if else statement.<br>Table 1 (a)<br>Phone Number<br>Destination<br>99 or 100<br>Police<br>101 or 102<br>Fire<br>Employment Help<br>Emergency Help<br>109 or 110<br>103 or 104<br>Any Other number<br>Error<br>Sample output:<br>Enter the Phone Number: 102<br>Destination<br>| Fire<br>[0.50]<br>Algorithm:<br>

Extracted text: 1. Write a C+ program to • Read the Phone Number (PN) from the user • Check the Phone Number and print the corresponding Destination as given in Table 1 (a) using if else statement. Table 1 (a) Phone Number Destination 99 or 100 Police 101 or 102 Fire Employment Help Emergency Help 109 or 110 103 or 104 Any Other number Error Sample output: Enter the Phone Number: 102 Destination | Fire [0.50] Algorithm:

Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here