Search:

Type: Posts; User: chronoz13

Search: Search took 0.33 seconds.

  1. Replies
    7
    Views
    2,716

    Re: Convert from 'C' to "java" (switch)

    oh chris sorry for that ..regarding with 'void main()' im not too much familiar with 'C' , anway i understand a little bit that in "C".. '0' is considered as false and '>=1' i considerd as...
  2. Replies
    7
    Views
    2,716

    Re: Convert from 'C' to "java" (switch)

    another question,in 'C' ,base on the first program 1 and 0 is not only considered as number it is also considered as boolean.(in compiling) .while in java .1 and 0 is only numerical data type when...
  3. Replies
    7
    Views
    2,716

    Re: Convert from 'C' to "java" (switch)

    ahh so in 'java' the reserve word 'switch' can only accept numerical data types and as well as enums or enumerated data types,

    and between 'C' and 'java' i think this is where everything ends...
  4. Replies
    7
    Views
    2,716

    Convert from 'C' to "java" (switch)

    we were doing this program in 'C' language and it compiled, runs, perfectly without any logical errors

    this is the 'C' Code:



    #include <stdio.h>
    void main()

    {
Results 1 to 4 of 4