Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
53% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
2
Posts with Downvotes
1
Downvoting Members
2
2 Commented Posts
~4K People Reached
Favorite Tags
c++ x 18
c x 3

8 Posted Topics

Member Avatar for joshSCH
Member Avatar for johnnyjohn20

Hi, Im trying to filter a user number entered by the user so that it is between 3 and 31 and odd. I also want the prompt to enter the user number to loop if the user number entered does not meet the requirements. This is what i have: [code] …

Member Avatar for johnnyjohn20
0
1K
Member Avatar for johnnyjohn20

I am trying to filter an array with different elements in using an if statement. So far i have if ( a[i] < 0.001 ) a[i] = 0 which works but i have minus values in the array which i wish to keep. Therefore it would be ideal to have …

Member Avatar for Salem
0
141
Member Avatar for johnnyjohn20

Hi, Would anybody know a way to repeat a program, for example the user has reached the end and a prompt is shown on screen Would you like to try again? Press y, n. I have managed to do this using goto command but this as ive read is a …

Member Avatar for WaltP
0
273
Member Avatar for johnnyjohn20

Hi, I have an array with elements filled with values such as 36.0119. I am trying to find a way of rounding each value to the nearest whole number E.G. 36. To show i have attempted this i have used cout with the array and set precision which is ok …

Member Avatar for WaltP
0
970
Member Avatar for johnnyjohn20

Hi, I am trying to set up a program to allow the user to enter an odd number between 3 and 31. The program will then divide 360 between 1 and the user input-1. For example say the user enters 7, the program should divide 360 to each value 1, …

Member Avatar for vijayan121
0
108
Member Avatar for johnnyjohn20

**MY QUESTION IS BASED ON A COURSEWORK** I am trying to produce a sin wave using *'s to represent sample values for 1 cycle of the wave. For example when the user enters 7 the output should look like this: .........................................................* ..........................................................................* ..........................................................................* .........................................................* .......................................* .......................................* .........................................................* please ignore the …

Member Avatar for Jishnu
0
302
Member Avatar for johnnyjohn20

Hello, i am trying to count from 0 - 7 and storing the values in an array. I have been trying to do this solidly for 2 weeks :'( my attempt: ************************************** int a[20]; int x; for ( x=0 ; x<=7 ; x++ ) { a[1] = x; cout << …

Member Avatar for Salem
0
101

The End.