- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
[CODE]import java.io.*; public class DCS2{ public static void main (String [] args) throws IOException{ BufferedReader myInput = new BufferedReader (new InputStreamReader(System.in)); int code, al, nmp, brc; float tf = 0 , ir = 0; String name = "" , description = ""; System.out.println ("Enter Your Barrower's Name"); name = myInput.readLine(); … | |
[CODE]import java.io.*; public class inout{ public static void main (String[] args){ int a; BufferedReader num= new BufferedReader(new InputStreamReader(System.in)); try {System.out.println("Enter a number: "); a = integer.parseInt(num.readLine()); System.out.println("THE NUMBER IS" + a); } catch(IOException e) {System.out.println("ERROR"); {}}[/CODE] [CODE]import javax.swing.*; public class jopt{ public static void main(String[]args){ int x; x = Integer.parseInt(JOptionPane.showInputDialog("enter … | |
[CODE]#include <stdio.h> #include <iostream> #include <conio.h> #define p printf #define s scanf float np, in, ir, pf, ad, md, re, rr,pfl,al; char bn[20],bc[5],rn[10], c[10]; main() { system("title Application No. 2"); system("color F4"); do { p("\nEnter your name please: "); s("%s", &bn[20]); p("\nEnter your code (A-C): "); s("%s", &bc[5]); p("\nEnter your … | |
Sorry for disturb you all, but a I'm newbie..because my teacher give a assignment.. this my assignment.. [B] Machine Problem[/B] 1. Make a C program that will display "I will pass PRGLF" on the center of the screen. 2. Design a program in C language that will display "#" at … |