🔒 Closed Pa convert java code to pseudocode thanks

Status
Not open for further replies.

Ginoong Halimaw

Eternal Poster
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
  • 796
    Views
  • 2
    Participants
Last reply from:
PHC - Royal

Trending Topics

Online now

Members online
992
Guests online
1,169
Total visitors
2,161

Forum statistics

Threads
2,273,853
Posts
28,952,081
Members
1,234,978
Latest member
panda1829
Back
Top