Program which prints odd or even according to user input, Programming Languages

Assignment Help:

Note: You should pay attention on following good practices:

  • Appropriate code comments(If you make any assumptions clearly comment them in the code)
  • Indentation
  • Instructional text for the user
  • Input validation and appropriate error messages
  • Use of appropriate data types
  • Include  Both Program Code, Design Code(Pseudo code)  in your Documentation

 

Question 1:

Briefly discus about Basic Data type in procedural languages

1) Examples of Basic data types

2) Characteristic Of Each Data type

Question 2:

Write a Program that prints "Number Limit Exceeded" if the user inserts a number more than 50.

Question 3:

Write Program code to accept age from the user. If the age i s negative or zero, the Message "age cannot be negative" and "age cannot be zero" should be displayed, respectively

Question 4: 

Write a program to compute the factorial of a number, and use it to print the factorials of the numbers 1-7

Question 5:

Write a program to print this triangle:

        *
        **
        ***
        ****
        *****
        ******
        *******
        ********
        *********
        **********

Use two nested loops instead. You'll have to use braces around the body of the outer loop if it contains multiple statements:

Question 6:

 Write a Program which prints "ODD" Or "EVEN" According to the user entered Number

Question 7:

Only the administrator to modify the Website of the company. The program accepts the name and password of a user and validates it with the name and password of the administrator. After validating the input, the program displays the message whether the user is allowed to modify

Question 8: 

Take two inputs from user and an Operator. Then calculate the result of the two according to the inserted operator.           

Make sure to use Reusability in you program


Related Discussions:- Program which prints odd or even according to user input

Windows communication foundation, Windows Communication Foundation The Micr...

Windows Communication Foundation The Microsoft windows Interaction or communication foundation (or WCF), formerly known as "Indigo", is an application selection program (API) in th

Data modelling-use case diagram and sequence diagram, On-line fair and ethi...

On-line fair and ethical share trading system (Olfest) A system is required that allows on-line customers to buy and sell stock market shares in a selection of companies. B

Write a program to show ten buttons with five possible color, Write a progr...

Write a program to show ten buttons with five possible colors: red, green, orange, yellow, blue. When the user clicks on a button, its color must advance to the next color, or go b

Explain the do - while statement - computer programming, Explain the Do - W...

Explain the Do - While Statement - Computer Programming? A do - while loop is an exit controlled loop and the body of the loop gets executed at least once if the condition is n

Pseudo code, I need help putting this into a flowchart constant c as Intege...

I need help putting this into a flowchart constant c as Integer = 3500 Constant CALORIESTOOUNCE as Integer = 219 Declare Sex as Character Declare Age as Integer Declare Weight as I

C++, You are to write a program which will answer a pair of questions for s...

You are to write a program which will answer a pair of questions for squares, triangles, circles and ellipses. A square is defined by its lower left corner (SLLx,SLLy), and the len

Shell script to print the name of file that has maximum size, Normal 0 ...

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

Visual Basic 2010 Karate Payments MDI Application, The following are requir...

The following are required for this lesson: Complete the Project "Adding New Payments," which is the Karate Payments that includes the Adding New Payments, Deleting Payments,

Program for a single new-line character, The following function calls suppo...

The following function calls supposedly write a single new-line character, but some are incorrect. Identify which calls don't work and explain why.     printf("%c", '\n');

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd