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
~4K People Reached
Favorite Forums
Favorite Tags
Member Avatar for Ryano24

These are the only answers I could not find can anyone help me out please public class TestA { public static void main( String args[] ) { int x = 2, y = 20, counter = 0; for ( int j = y % x; j < 100; j += …

Member Avatar for TheWhite
0
213
Member Avatar for Ryano24

I am trying to do a program that produces random limericks and this is what I have so far... I am posting this again, because I don't think the first one went through. Sorry if it did... #include <stdio.h> #include <time.h> #include <stdlib.h> #include <string.h> #include <ctype.h> int main(){ char …

Member Avatar for jephthah
0
87
Member Avatar for Ryano24

I wrote this code to re-create the classic race of the tortoise and the hare and everything compiles fine. Just the logic is messed up. When I run the program all I see is BANG AND THEY'RE OFF and who wins. I should be seeing a T for the Tortoise …

Member Avatar for vmanes
0
1K
Member Avatar for Ryano24

I have to write an applet that asks the user to enter two floating-point numbers, obtains the two numbers from the user and draws their sum, product, difference and quotient. This is what I have so far. Can anyone make sure I am on the right track. import java.awt.Graphics; // …

Member Avatar for darkagn
0
104
Member Avatar for Ryano24

I am having some trouble getting this code into C++...Can somebody help me! [code] [inlinecode=cpp] #include <iostream> #include <cstdlib> #include <ctime> using namespace std; int random_1(); int main() { int i = 0; int j = 0; int check; int check_1; char play_again = '\n' ; int tortoise[70]; int hare[70]; …

Member Avatar for Majestics
0
97
Member Avatar for Ryano24

I wrote this code that inputs employees salaries and distributes them to how much they made. I need some help translating this code into C++ [code=c] #include <stdio.h> int main(){ int sales[9]={0}; double gross=0, percent=0, salary=0; int total=0; int counter=0; printf("For 5 peoples salary ranges, Enter the first gross\n"); scanf("%d", …

Member Avatar for Narue
0
124
Member Avatar for Ryano24

Public Class frmCommand Private Sub Command1_Click() Dim txtInput1 As Double Dim txtInput2 As Integer Dim txtInput As Integer Dim Sum As Integer Dim Average As Integer Dim Larger As Integer Dim Smallest As Integer Sum.Caption = "Sum : " & (Val(txtInput1.Text) + Val(txtInput2.Text) + Val(txtInput3.Text)) Average.Caption = "Average : " …

Member Avatar for Jx_Man
0
167
Member Avatar for Ryano24

Can anyone tell me what this code does. Private Sub MysteryCode_Click(ByVal sender As _ System.Object, ByVal e As System.EventArgs) _ Handles MysteryCode.Click ' Determines MYSTERVALUE base on number entered by user Dim Y As Integer, X As Integer, MYSTERYVALUE As Integer ' initialization phase X = 1 'prepare to loop …

Member Avatar for Jx_Man
0
83
Member Avatar for Ryano24

I am kinda new to Visual Basic and I was wondering how I could program a user to input 3 numbers and give the sum, average, product, and find the smallest and largest number using a Windows Application

Member Avatar for Jx_Man
0
203
Member Avatar for Ryano24

I have to do a code in De Morgans law show that 2 expressions are equivalent. I not even sure if I am going in the right direction. Can somebody steer me right original expression - ! ( x < 5 ) && ( y >= 7 ) De morgans …

Member Avatar for jephthah
0
2K