Can someone help me on why I keep getting run time errors?
Thanks :3
here is my code:
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
class Main{
public static void main (String[] args) {
Scanner s = new Scanner(System.in);
ArrayList <String> dicList ...
Search found 3 matches
- Tue May 26, 2015 8:31 am
- Forum: Volume 6 (600-699)
- Topic: 642 - Word Amalgamation
- Replies: 9
- Views: 8162
- Sun Jan 18, 2015 3:45 pm
- Forum: Volume 7 (700-799)
- Topic: 706 - LCD Display
- Replies: 221
- Views: 65452
Re: 706 - LCD Display
I keep getting presentation errors, can someone identify my error? I can't seem to figure it out.
Here is my code:
#include <stdio.h>
#include <string.h>
int main()
{
int x;
char y[11];
int z = 0;
int ntemp;
int ncnt;
int cnt2;
scanf("%d%s", &x, y);
while(x != 0)
{
for(cnt2 = 0 ...
Here is my code:
#include <stdio.h>
#include <string.h>
int main()
{
int x;
char y[11];
int z = 0;
int ntemp;
int ncnt;
int cnt2;
scanf("%d%s", &x, y);
while(x != 0)
{
for(cnt2 = 0 ...
- Fri Jan 16, 2015 2:47 pm
- Forum: Volume 123 (12300-12399)
- Topic: 12342 - Tax Calculator
- Replies: 33
- Views: 21682
Re: 12342 - Tax Calculator
Please help, I keep getting WA even if the output is the same in uDebug
Thank you in advance! :3
#include <stdio.h>
#include <math.h>
int main()
{
int x;
int i = 1;
int y;
double nTax = 0.0;
scanf("%d", &x);
while(x)
{
scanf("%d", &y);
switch(y > 180000)
{
case 1: if(y - 180000 ...
Thank you in advance! :3
#include <stdio.h>
#include <math.h>
int main()
{
int x;
int i = 1;
int y;
double nTax = 0.0;
scanf("%d", &x);
while(x)
{
scanf("%d", &y);
switch(y > 180000)
{
case 1: if(y - 180000 ...