Nikas Ghimire asked a question


#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
Rabin Kalikote almost 2 years ago
12 Claps
2 Comments
Bal Bahadur BK

Great my son!

Reply over 1y
Pranish Uprety

You've been truly inspiration, dai! Congratulations to you and all of us.

Reply almost 2y
subash neupane asked a question

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
Close Open App