Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~735 People Reached
Favorite Forums
Favorite Tags
c++ x 21
Member Avatar for khaled.s

[CODE]#include <iostream> using namespace std; int main(){ for (int i = 0; i < 1000; i++) { int die1, die2, roll1, roll2, point,; die1 = 1 + rand() % 6; die2 = 1 + rand() % 6; point = die1 + die2; cout << "You rolled: " << point << …

Member Avatar for WaltP
0
210
Member Avatar for khaled.s

I need to use this to make a program to find the prime factorization of a number, please help me get started. input a value to factor while input value > 1 let leftToFactor = input value let factor = 2 while factor <= leftToFactor while factor divides leftToFactor (i.e. …

Member Avatar for JasonHippy
0
162
Member Avatar for khaled.s

[CODE] // // This program finds the area of a triangle given the points of the triangle. It computes // the area of the triangle using three different formulas, each will result in the same answer. // // Area1 = 1/2 | (x1y2 - x2y1) + (x2y3 - x3y2) + …

Member Avatar for Ancient Dragon
0
130
Member Avatar for khaled.s

Can you please tell me what's wrong? I get this error: error C2447: '{' : missing function header (old-style formal list?) [code] // // Area= 1/2 | (x1y2 - x2y1) + (x2y3 - x3y2) + (x3y1 - x1y3) | // (distance)^2 = (x-difference)^2 + (y-difference)^2 // v= sqrt[ s(s-a)(s-b)(s-c) ] …

Member Avatar for WaltP
0
233