I finally got it thank you it was just a computation error.
Any idea, on where to start for question 2?
Type: Posts; User: traewall11
I finally got it thank you it was just a computation error.
Any idea, on where to start for question 2?
// Description: Determines positive, negative, sum, and average of integers. Ends when 0 input.
import java.util.Scanner;
public class Compute {
public static void main (String[] args) {...
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
Syntax error on token "if", ( expected after this token
Syntax error on tokens, Expression expected instead
Syntax...
// Description: Determines positive, negative, sum, and average of integers. Ends when 0 input.
import java.util.Scanner;
public class Compute {
public static void main (String[] args) {...
#include <stdio.h>
#include <conio.h>
void main()
{
int number;
clrscr();
printf("Enter a number\n");
scanf ("%d", &number);
I recieved a bonus assignment for my Java class and I was wondering if anyone could help, they are pretty simple im just a new coder. (if it matters i use JGRASP)
First one is " Write a program...