No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
9 Posted Topics
Hi, I forgot how to do the decimal precision aka magic formula Like after you run the program it give you 4 decimal places but i only want 2 decimal places Hope someone can help!! Thank You!! [CODE] #include <iostream> #include <fstream> #include <string> #include <cstdlib> using namespace std; void … | |
Hi I'm having calculation error is the function - fraction::GCD(int& gcd, int e, int f) Example: If u enter 1/3 for both first and second fraction The unsimplified fraction would be 6/9 And when u call the GCD function and do the calculation by urself u can see that it's … | |
I need some help on the void plusEquals/minusEquals and etc function I'm not sure how to start it Please can anyone help me do the plusEquals function so I know what I'm suppose to do or maybe some guides on how to approach it Below the problem is my current … | |
[B]Problem:[/B] Write a program which reads a stream of integers from a file and stores them in an array. The array is then analyzed to compute the average of all the values in the array and all of the values that are above the average should be printed out to … | |
Write a program which analyzes a text file by counting the number of times each of the 26 letters in the alphabet occurs. You must use an array to keep track of the how many times each letter is seen in the text file. Uppercase and lowercase letters should be … | |
Hi, I'm having an error when running this program and I don't know what kind of error is it. So hoping someone can help me. Thank You!! Program: The input file is created with positive and negative numbers. When program ask for the input file it should be the same … | |
Write a program to compute the square root of a number. DO NOT USE any math libraries in this program. You will be using the Babylonian method (a.k.a. Heron’s method) to approximate the square root. More information is available on wikipedia: [url]http://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method[/url] To calculate the square root of x, the … | |
MY ASSIGNMENT: Write a program that works with fractions. Your program should be able to add, subtract, multiply, and divide two fractions. Specifically, your program must request two fractions from the user, getting the numerator and denominator separately for each fraction, and the operation to perform (add, subtract, multiply, or … | |
Hi, This is what I have done so far (below) I'm having a problem with the spacing as shown in the output (below the code) Can anyone please help me fix the spacing? Thank You!! ************************************************** ************** CODE: [CODE]#include <iostream> using namespace std; void question (int input); void calendar (int … |
The End.