1 Clap
0 Comments
#include<stdio.h>
#include<conio.h>
#include<string.h>
int main() {
int i, number, num1, num2=0;
char str1[50];
num1 = number;
for(i=2; i<=20; i+=2) {
printf("%d", i);
printf(", ");
}
return 0;
}
2 Thanks
2 Answers
8 Claps
0 Comments
12 Claps
2 Comments
Hello Subash!
Here is the solution for the question you are asking for, I solved it in procedural way but if you are among the one who prefer OOP style then you can still ask it for me cause I have solved it from both methods but here I am just going to leave procedural one....
//author:Manish Acharya
import java.util.Scanner;
import java.util.*;
public class idgenerator {
public static void main(String[] args) {
String small_name="", long_name="", new_small_name="", new_long_name="";
char lr='a',...
6 Thanks
2 Answers
4 Claps
1 Comments