🔒 Closed Pa convert java code to pseudocode thanks

Status
Not open for further replies.

Ginoong Halimaw

Established
pa convert naman mga idolo java code to pseudocode..

import java.util.Scanner;

public class IdealAge {
public static void main(String [] args) {
Scanner kb = new Scanner(System.in);

System.out.print("Enter the age of a man:");
int manAge = kb.nextInt();
int wifeAge;
wifeAge = idealAge(manAge);

System.out.println("Ideal age of wife is = " + wifeAge);
}

public static int idealAge(int manage) {
return (manage/2)+7;
}
}
 
I guess walang converter nyan paps. Pinapagawa lang siguro ng prof nyo para malaman niya kung naintindihan mo ba talaga ang code na yan. Instead, basahin mo nalang din tong nahanap ko paps. Baka makatulong. I'm not a programmer, btw.

You do not have permission to view the full content of this post. Log in or register now.
 
Status
Not open for further replies.

About this Thread

  • 3
    Replies
  • 819
    Views
  • 2
    Participants
Last reply from:
PHC - Royal

Trending Topics

Online now

Members online
1,121
Guests online
13,416
Total visitors
14,537

Forum statistics

Threads
2,346,693
Posts
29,349,633
Members
1,099,539
Latest member
nasser1201
Back
Top