English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

1.which of the following are invalid constants and why?
0.0001 5*1.5 99999
+100 75.45E-2 "15.75"
-45.6 -1.79e+4 0.00001234

2.which of the following are invalid variable names and why?
minimum First.name n1+n2 &name
doubles 3rd_row n$ Row1
float Sum Total Row Total Column-total

3.find errors,if any,in the following declaration statements.
Int x;
float letter,DIGIT;
double=p,q
exponent alpha,beta;
m,n,z:INTEGER
short char c;
long int m;count;
long float temp;

2007-09-27 05:14:36 · 4 answers · asked by barbiegirl 2 in Computers & Internet Programming & Design

by helping nothing u will loose...ur knowledge doesnt get over instead it increases...so when u dont know the answer then dont waste ur time over ya!!...

2007-09-27 05:25:59 · update #1

4 answers

+100 75.45E-2 "15.75"
cant use "

First.name cant use . in name its an operator
n1+n2 similar reason(+)
&name similar reason(&)
3rd_row cant start variable name with number
n$ cant use special symbol

Int x;
double=p,q
m,n,z:INTEGER
long int m;count;
long float temp;

2007-09-27 20:51:00 · answer #1 · answered by i_am_the_next_best_one 5 · 1 0

I agree, you should pay more attention in class!
First of all, WHAT language are you using? Without telling us this, HOW can we answer?
1. What is 5*1.5 ?
2. Variables? in PhP, they must start with "$", so none of them is valid.
Column-total contains a "minus" (-)
3. So many errors that the compiler will take refuge back on the hard drive!
Be sensible, little girl.
We are not here to do your homework, but to help you when you are stuck, and when your questions are clearly defined.

2007-09-27 12:38:01 · answer #2 · answered by just "JR" 7 · 1 1

Do your own homework

2007-09-27 12:21:31 · answer #3 · answered by krennao 7 · 1 1

duh MAYBE it's time for a major change

2007-09-27 12:58:11 · answer #4 · answered by ? 3 · 1 1

fedest.com, questions and answers