Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+3
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #2K
~27.1K People Reached
Favorite Forums
Member Avatar for ironmancpp

Hi everyone! I am a class XII student. I have been asked to make a project using c++. I have decided to make a word game. The game's objective is: * show a random jumbled word stored in a file * ask the user to enter any valid words that …

Member Avatar for mtbs1826
0
231
Member Avatar for codemogul

someone please help me with printing out body parts... read in word from list..user inputs letter.when correct letter is place on line..else ..im stuck here..cannot print out body part when input is wrong.. [CODE]#include <iostream> #include <fstream> #include <iomanip> #include <string> #include <ctime> using namespace std; void pickword (); int …

Member Avatar for mtbs1826
0
90
Member Avatar for wdearth

I'm supposed to create a bill for a catering group utilizing at least two functions, which functions could I use for this and how will I use them? I've done it with mainly if and else statements and simple calculations, any functions I can use? #include<iostream> #include<iomanip> #include<string> using namespace …

Member Avatar for mtbs1826
0
216
Member Avatar for keweul

[CODE] #ifndef POLYNOMIAL_H #define POLYNOMIAL_H class Polynomial { public: Polynomial(); Polynomial(int ,int []); ~Polynomial(); const Polynomial operator+(Polynomial& p) const;// addition const Polynomial operator- (Polynomial& p ) const; // subtraction int getExponent(); //void setExponent(); void setCoefficient(); int getCoefficient(); void printPolynomial(); private: int exponent; // exponent int coefficient[ 10 ]; // coefficients …

Member Avatar for cppgangster
0
4K
Member Avatar for realproskater

So i need help doing this project and heres what i have to do for the program i left some comments on what my code does etc, please help. Write a program to compute the square root of a number. DO NOT USE any math libraries in this program. You …

Member Avatar for mtbs1826
0
680
Member Avatar for georgy9002

Hello Guys I am having problems with an assignment. I need to create a class to make a rectangle. Then I have to - Declare an object of the class (rect1) using the default constructor. Now prompt the user for a Width, Height and Character. Store the results in temporary …

Member Avatar for mtbs1826
0
159
Member Avatar for im abcd

[CODE]# include <stdio.h> # include <iostream> using namespace std; int main() { int a,b,c; while (true) { cout<< " enter ur first digit"<< endl; cin>> a; cout<< "enter ur second digit" << endl; cin >> b; cout << " ur ans is "<< (a-b) <<endl; continue ; break;} scanf ("%d%",&c); …

Member Avatar for elsiekins
0
196
Member Avatar for baltik08

problem: the user will input an integer for example 12345 (5 digits) and the output should be: 12345 12345 12345 12345 12345 // depending of how much digit you input or if the user will input lets say 123hi and the output should be 123hi 123hi 123hi // the program …

Member Avatar for Dhruv Gairola
0
789
Member Avatar for tln26

I am trying to get the numbers in the array to give me a average out put. here is what I have so for: [COLOR=#0000ff][/COLOR] [CODE] #include "stdafx.h" #include <iostream> #include <cctype> using std::cout; using std::cin; using std::endl; int main() { int grade[10]; int count = 0; char reply = …

Member Avatar for hits86
0
375
Member Avatar for xiansen

i am supposed which accepts a five-digit integer value. my program is then to output the digits, one per line. Each line of output should contain the digit value, its square and its cube. Once I have the program running correctly, modify the program so that it will process as …

Member Avatar for xiansen
0
189
Member Avatar for darkroad

Assuming that we enter the integer value is 5689798. Summing up the digits gives 5+6+8+9+7+9+8+8 = 58 that contains more than one digit, so we repeat the process: 5+8 = 13. we repeat until we got one digit: 1+3 = 4 . The final answer is 4. I don't know …

Member Avatar for ananda2007
0
164
Member Avatar for saanda

Hi! Please, I really need help with a problem. I need to read numbers (float type) from a file. Numbers are arranged in rows, I don't know how many in each row, there may be a large number of numbers (milions). How can I read each row of numbers, for …

Member Avatar for mtbs1826
0
20K
Member Avatar for vandadm

Hello all, For this program (assignment), the user enters the names of five students, and their respective four test scores. The program will then average the scores, and display them for the user. Part of the requirement for the program is that we use five single-dimensional arrays of 'doubles' to …

Member Avatar for tesuji
0
204
Member Avatar for mommabear

[COLOR="Green"]Hello I've just joined this forum, although I have used it regularly in the last couple of months to help in my learning of programming. I have learned a lot (I feel), and I'm now hoping to not only resolve the errors I have in my coding, but to gain …

Member Avatar for mike_2000_17
0
343