- 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
5 Posted Topics
Re: \\i post a new method according definition prime :devide by 1 and itself// #include<stdio.h> #include<conio.h> int main(){ int num,i,j,count=o; printf("enter a number"); scanf("%d",&num); for(i=1;i<=num;i++){ if(num%i==0) count++; } if(count==2)/*devide by 1 and itself so count=2*/ printf("number is prime"); else printf("number is not prime"); } //any problem concern me........ | |
Re: [QUOTE=solarmotion;1668755]The program already can compile and run. But, when we enter the film's code, an error will occurred. We had no idea how to solve it :\ [CODE] public class Entity { private String itemCode; private String title; private String description; private int language; private int time; private String productCompany; … | |
Re: [QUOTE=london-G;1666727]Hello everyone, I am currently learning Java. I find it very hard to use string variable. Does string variables need to be declared differently? Let me explain more: I have a program(in blueJ) which reads a name and returns it. [CODE] public class ReadName { // instance variables - replace … | |
Re: > HI Guys > > These days I am checking whether amount is correctly upload into one of our table its located in oracle database below query used to check this > . > `Select * from Amount_Paiad where CusID IN ('34343','34343','090094')` > > There is no issue in query.Problem … | |
Re: [QUOTE=maverick420;1665891]I want the to calculate the value of user input by multiplying the number by it the increment i.e. if input is 5 then calculation should be 5*1*2*3*4=120, I have tried but so far not successful any help will be appreciated. [/quote]The code is below: [CODE] import java.io.*; public class … |
The End.