#include<stdio.h>void table(int n);int main(){int n;printf("enter the n:");scanf("%d",&n);table( n);return 0;}void table(int n){for(int i=1;i<=10;i++)printf("\n%d",n*i);}
Class logical{Public static void main (String [ ] args){Int n1 = 3;Int n2=6;boolean res = n1++||++n2==6;System.out.println (res);System.out.println (n1);System.out.println (n2);}}
A steel bar 2m long and 150mm sq in cross section is subjected to an axial pull of 15 kN . Find the elongation of the bar . Take E= 200Gpa.
What will be the output of the following program?public class Solution{public static void main(String[ ] args){short x = 10;x = x * 5;System.out.print(x);}}
int main(){int i,j,count;count=0;for(i=0; i<5; i++);{for(j=0;j<5;j++);{count++;}}printf("%d",count);return 0;}