Professional Documents
Culture Documents
Input= a number Process= if number is a positive number Output= Yes, the number is a positive number
*/
import javax.swing.JOptionPane;
int num;
if (num>=0){
}else{
Input= a number
*/
import javax.swing.JOptionPane;
int num;
if (num>=0){
}else{
}
/* Determine if a number is within range of 1-10
Input= a number Process= if a number is 1-10 Output= Yes, the number is within numbers 1-10
*/
import javax.swing.JOptionPane;
int num;
/* Determine if the salary of an employee will fall in one of the following categories:
Input- salary Process= if the salary will fall in Contractual, Temporary or Permanent
import javax.swing.JOptionPane;
int salary;
}
/**Determine the salary of a particular salary grade
Input=salary
*/
import javax.swing.JOptionPane;
int salary;
if (salary == 12517){
Input= number
*/
import javax.swing.JOptionPane;
int num;
}
/*Determine if a number is a bit number
*Input= number Process= Determine if number is a bit number Output= num is a bit number
*/
import javax.swing.JOptionPane;
int num;
if (num == 0 || num == 1 ){
import javax.swing.JOptionPane;
double bmi;