Compute the test statistic

  • Bids0
  • Budget $0.00
  • Average Bid $0.00

Posted on


Project Desciption

Compute the test statistic


I’m working on a C Programming exercise and need an explanation to help me learn.

In this assignment we are going to rewrite the ReadDouble function to make it more user friendly. Instead of reading a value into a double, read the users input into a string, similar to what was done with the ReadInt function in the video. Using the functions found in cctype, parse the string to validate that the input is a valid real number. It should use the following rules

The first character can be a number, +, -, or a decimal point

All other characters can be numeric, a comma or a decimal point

Any commas must be in their proper location (ie, separating hundreds from thousands, from millions, etc)

No commas after the decimal point

Only one decimal point in the number

Create a main function where you will call the ReadDouble function and display the value that is returned. Run this program several times demonstrating its error checking functionality

Employer Information

2271 project(s) posted hire 2 freelancers
Member since: 2020-02-01

There are no bids yet.

Open chat
Whatapp Us
Hey? You want your project done, Whatsapp us Now.
Click to Submit a Project