- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 2
- Posts with Downvotes
- 1
- Downvoting Members
- 2
student
hi guys! how can I print the value of an integer in j2me? I need to print the value of int score. i dont know how. thanks! |
|
private static void randomNumber() { int rand; int min = -10; int max = 10; System.out.println(" "); for (int i = 0; i < 10; i++) { rand = (int) (Math.random() * (max - min + 1) ) + min; System.out.print(" " + rand); } System.out.println("\n"); } can anyone explain … |
|
this is my codes in banking system please bear with my codes..im just new in doing classes *can you help me with this error..tnx!! [CODE]#include<stdio.h> #include<iostream.h> #include<stdlib.h> #include<conio.h> #include <time.h> class Account { public: void Account::existing(void) { cout<<"Account #: "; cin>>user; cout<<"Pin # : "; cin>>pin; for(i=0;i<3;i++) { if(!strcmp("dlsl",user)&&("3645",pin)) { … |
|
hi! can someone give me some idea what kind of game is easy to do in c++? or kind of a system.. it is for our project..I'm thinking of doing text twist..can someone give some other idea? thanks very much!!! |
|
can i ask for a help? can you give me an idea to improve our program? another feature? our program is about computing a telephone bill.. -thanks!- |
|
[TEX]can someone teach me how to use pointer in this program?? i dont know if what i did in this program is correct. can you tell me how to use pointers here.thanks! [/TEX] [CODE]#include<stdio.h> #include<iostream.h> struct fruits { int apple; int banana; int orange; int jackfruit; } fruit; int shape; … |
|
[QUOTE]can you help me complete this program... it is an encryption program.. it needs another text file(1), that will convert the the contents of text file(#2) and then save it to another text file(#3)..it needs 3 text file..how can i do that??[/QUOTE] [CODE]#include<stdio.h> #include<ctype.h> #include<stdlib.h> #include<iostream.h> void main(void) { FILE … |
|
can someone tell me whats wrong with this codes, because there's some error in printing.. [CODE]#include<stdio.h> #include<iostream.h> struct bday{ char month[2]; char date[2]; char year[4]; }; struct contacts{ char surname[10]; char phoneno[12]; }; void main(void) { struct contacts con[2]; struct bday bd[2]; int i; for(i=0;i<=2;i++) { cout<<"\nSurname : "; cin>>con[i].surname; … |
|
how to use push and pop here??? thanks! #include<stdio.h> #include<stdlib.h> void push(char palindrome[20], int *top, int value) { if(*top<=10) { palindrome[*top]=value; *top++; } else { printf("Stack is full!!"); exit(0); } } int value; void pop(char palindrome[10], int *top) { if(*top>=0) { value=palindrome[*top]; *top=*top-1; } else { printf("The stack is empty!!\n"); … |
|
how can i declare this correctly: because i always get an error like, too long declaration. Type of food Name Address Average cost Thai ABC Makati 250 American DEF Pasay 350 Asian GHI Manila 150 Thai JKL Muntinlupa 300 Thai MNO Paranaque 350 American PQR Manila 200 Asian STU Makati … |
|
fatal error C1004: unexpected end of file found what is that problem when this error shows?? what do i need to do? |
|
Hi! Good day! can you help me with my assignment: -Create a function that will accept values 0 and 1 in a 3 x 3 matrix. -Create a function that will print values inputted to the 3 x 3 matrix -Output should follow this format: 1 1 0 1 0 … |