#include iostreamusing namespace std;void main() {float l, b;P = 2(l+b);printf("Peri=", P);}
#includestdio.hint main(){char c;printf("Enter a character : ");scanf("%c" , &c);printf("\n\nASCII value of %c = %d",c,c);return 0;}
#include stdio.hint j=7;void main(){int i=2;{int i=8,j=3;printf("%d %d",i,j);}printf("%d %d",i,j);}
import java.util.Scanner;public class VowelCount {public static void main(String[] args) {Scanner scanner = new Scanner(System.in);System.out.print("Enter a sentence: ");String sentence = scanner.nextLine();int vowelCount = 0;sentence = sentence.toLowerCase();for (int i = 0; i sentence.length(); i++) {char c = sentence.charAt(i);if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') {vowelCount++;}}System.out.println(vowelCount);}}
def DecimalToBinary(num):What is the output of the following python programif num = 1:DecimalToBinary(num // 2)print(num % 2, end = '')if __name__ == '__main__':dec_val = 24DecimalToBinary(dec_val)