Computer Applications
State the method that
(a) converts a string to a primitive float data type.
(b) determines if the specified character is an uppercase character.
Related Questions
The following code has some error(s). Rewrite the correct code and underlining all the corrections made.
integer counter = 0; i = 10; num; for (num = i; num >= 1; num--); { If i % num = 0 { counter = counter + 1; } }Rewrite the following program segment using while instead of for loop.
int f = 1, i; for(i = 1; i <= 5 ; i++) { f *= i; System.out.println(f); }Give the output of the following expression, when a = 6.
a += ++a + a++ + a-- + a-- + --a + ++a