- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
7 Posted Topics
start defining a class then you make a constructor and create a method...
can anybody give me a code on how to put an image in a form. i am using a jreator 4.5. i dont know the code..please help me...tnx a lot..
guys! can you help me convert this code to java language.... this is my code in c++....i need to convert in java.... # include <iostream.h> int num1,num2,sum; double add(double sum); int main() { cout<<"Enter first number"; cin>>num1; cout<<"Enter second number"; cin>>num2; sum=add(sum); cout<<"The sum is: "<< sum; return 0; } …
import java.io.*; public class ifelse { public class InputStreamReader reader=new InputStreamReader (System.in); public class BufferedReader input=new InputStreamReader (reader); public static void main(String[] args) throws Exception{ int a; System.out.println("Enter your Level"); a = Integer.parseInt(input.readLine()); if (a == 1) System.out.println("\nYou are Freshman"); else if (a == 2) System.out.println("\nYou are Sophomore"); else if …
just analyze it believe in yourself....that's just a simple program....start it little by little...or what we say "Divide and Conquer"
hello...pls help me create a parse tree...this is the source code: #include<iostream.h> int main() { int x,y; double ave; cout<<"Enter first number"; cin>>x; cout<<"Enter second number"; cin>>y; ave=(x+y)/2; cout<<"the average is"<<ave; return 0; }
hello help me...i need to create a parse tree with this source code: #include <iostream.h> int main() { int x,y; double ave; cout<<"Enter first number"; cin>>x; cout<<"Enter second number"; cin>>y; ave=(x+y)/2; cout<<"The average is"<<ave; return 0; }
The End.
mitchneys