Tag: 3rd sem
JAVA 2019 Old Papers Solution
year 2019 Q.no 11 class BIM { public static void main(String args[]) { int a=0, b=1, c; System.out.println(a); System.out.println(b); for(int i=3;i<=10;i++) { c=a+b; a=b; b=c; System.out.println(c); } } } Q.no 12 String aar[]={“January”,”February”,”March”,”April”,”May”,”June”,”July”,”August”,”September”,”October”,”November”,”December”}; for(int i=0; i<aar.length; i++) { System.out.println(“month”+aar[i]); try{ Thread.sleep(1000); } catch(Exception e) { System.out.println(e); } }}} class days implements Runnable { public void […]
Continue ReadingC program 2021 Makeup
Q.no 1 . Explain the different types of data types with examples. In C programming, data types are declarations for variables. This determines the type and size of data associated with variables. Type of data types: Primary data types:These are fundamental data types in C namely integer(int), floating point(float), character(char) and void. Derived data types:Derived […]
Continue Reading