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.

~1K People Reached
About Me

student

Favorite Tags
c++ x 20
c x 4
java x 4
Member Avatar for jam7cacci

#include <iostream.h> #include <string> void main() { char name[10]; int num_name; int count; cout << "How many names do you want to enter?\n"; cout << "Answer: "; cin >> num_name; int j =1; cout << "\nEnter names\n"; for (count=1; count<=num_name; count++) { cout << j << "." <<" name: "; …

Member Avatar for jam7cacci
0
107
Member Avatar for jam7cacci

Just wanna have it checked if i'm doing this rightly... i was given an expression to translate it into a polish notation and traversals. the expression is [quote] {( a + b ) - c } * { d * (e / f + g)} [/quote] here's my answer: POSTFIX …

Member Avatar for jam7cacci
0
77
Member Avatar for jam7cacci

I'm trying to add all the square root answer but why am i getting this output: -858993430 #include <iostream.h> void main() { int input; int sqrt; int i, sum, add; cout << "Please enter your desire number: "; cin >> input; for (i=1; i <= input; i++) { sqrt = …

Member Avatar for jam7cacci
0
102
Member Avatar for jam7cacci

I'm trying to do a for loop where in it will count the number of times it will be clicked. For example I have a button where i can click that says purchase. Now, from there I want to restrict it by only once. One purchase and that's all he/she …

Member Avatar for Ezzaral
0
87
Member Avatar for jam7cacci

I'm trying to compare two variables that is being inputed by the user but then it wont function [code] if (txt_pay.getItem() < txt_amount.getItem()) { jOptionPane1.showMessageDialog(this, "please enter the right amount"); } [/code] what could be wrong? the error says [quote] operator < cannot be applied to java.lang.string [/quote] another one …

Member Avatar for jam7cacci
0
105
Member Avatar for jam7cacci

my task is to sort the input numbers from lowest to highest but i just cant make it work... i've tried different ways and I know there's a problem in my code. hope you can help me out. thanks! [code] #include <iostream.h> struct trial { int age; } getcount[5]; void …

Member Avatar for jam7cacci
0
163
Member Avatar for jam7cacci

Hi! I was wondering if someone could help me figure out what may be wrong in my installing process or in my compiler... I was installing Visual Studio 6.0 C++ and everything went well until I started compiling and this is what it shows: --------------------Configuration: try - Win32 Debug-------------------- Linking... …

Member Avatar for jam7cacci
0
141
Member Avatar for jam7cacci

Hi! anyone who could help me fix this code for it to work? i need your help very badly. :) i'm having a hard time debugging my program for it to work... i dont know how to use the function rand() properly.. :rolleyes: tried everything i can but it just …

Member Avatar for jam7cacci
0
236