Nikas Ghimire asked a question


#include<stdio.h>

#include<conio.h>

#include<string.h>


int main() {

int i, nextTerm;

int t1 = 2, t2 = 2;

nextTerm = t1+t2;


printf("%d, %d, ", t1, t2);

for (i = 3; i <= 10; ++i) {

printf("%d, ", nextTerm);

t1 = t2;

t2 = nextTerm;

nextTerm = t1 + t2;

}


return 0;

}


2 Thanks
2 Answers
Deekchya Pandit asked a question

a)When silver nitrate comes in contact with skin, it is reduced to white color metallic silver.In most cases, a black stain appears due to formation of finely divided silver which has black color.

The black color is due to the decomposition of the Ag+ ion into Ag, silver. Silver nitrate will slowly decompose with the silver ion reverting to elemental silver. The microscopic particles of silver are so small that they absorb light instead of reflecting it, and so appear black, instead of silver....

0 Thanks
2 Answers
Aryan Sigdel asked a question

This picture develops a clear understanding.


8 Thanks
2 Answers
Rakesh Yadav asked a question

Books Review

Title: "Atomic Habits" by James Clear

Introduction:

"Atomic Habits" by James Clear is a transformative self-help book that delves into the power of small habits and their impact on personal growth and success. With a captivating writing style and practical advice, this book provides readers with valuable insights and actionable strategies to create positive change in their lives.

Summary:In "Atomic Habits," Clear introduces the concept of "atomic habits," emphasizing the profound...

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

1.ans:  No the tension in the string of a simple pendulum is not constant throughout the motion                                     

v is velocity of the bob and theta is the angle made by the string with vertical axis.
as v and  both are variable T is also variable.
T is maximum at mean position as at mean position v is max and the angle is minimum.


2.ans: If the amplitude of the simple...

1 Thanks
2 Answers
NANDANI KUMARI asked a question

Bohr's theory of the atom was proposed in the early 20th century and was based on the idea that electrons move in fixed orbits around the nucleus. According to this theory, the position and momentum of an electron in an atom can be determined with absolute precision at any given moment, which seems to contradict Heisenberg's uncertainty principle.

Heisenberg's uncertainty principle states that it is impossible to determine the exact position and momentum of a particle simultaneously. This...

0 Thanks
2 Answers
Close Open App