#include stdio.hvoid main(){float x=7;Int y=8;printf("%f, %f", x, y);}
import java.io.*;import java.util.Scanner;class GFG {public static void main (String[] args) {String str= "khushi", nstr="";char ch;System.out.print("Original word: ");System.out.println("khushi");for (int i=0; istr.length(); i++){ch= str.charAt(i);nstr= ch+nstr;}System.out.println("Reversed word: "+ nstr);}}
निम्नलिखित में कौन-सा देश "Land of Thunderbolt" के नाम से जाना जाता है?
Find the output of the following code :-class Solution{public: void printTriangle(int n) { // n = 5 for(int i = n; i0; i--){ for(int j = 1; j=i; j++){ cout"* "; } coutendl; } }};public class Student { public int rollNo; public String studentName; public void findGrade(int marks) { char grade; if(marks90) grade='A'; else if(marks90&&marks70) grade='B'; else if(marks80&&marks70) grade='C'; else grade='D'; System.out.prinlnt(grade); }}