or
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
grishma gautam asked a question

Time taken (t) = 3 sec
Velocity of sound (v) = 332 m/s
Distance travelled (d) = ?

We know,

d = v x t = 332 x 3 = 996 m

Hence, the source of thunder is about 996 m far from the boy.

2 Thanks
2 Answers
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
Laxman Khatri over 2 years ago
0 Claps
1 Comments
SONU NIGAM SAH

Quality of life refers to the overall well-being, satisfaction, and happiness that an individual or a community experiences in various aspects of their lives.

Reply over 2y

Mattrab Community

Create, share and learn from the unlimited notes, photos and videos and ask your questions, answer your friends all over Nepal and grow. Create, share and learn.

Ask Mattrab is changing soon

We are excited for you to try new features. What are you excited about?

Close Open App