Hello Team
I am going through the Time Complexity of any algorithm part. But, I can't understand. What it actually is & how to find time complexity for specific algorithm. Just make make me...
Type: Posts; User: ARYAA
Hello Team
I am going through the Time Complexity of any algorithm part. But, I can't understand. What it actually is & how to find time complexity for specific algorithm. Just make make me...
I want to code a program such that I can find an exact day was Monday,tuesday..etc.
suppose 3/3/1998 was Tusday.. Like this
Please give me the logic to be used here. I will try to code.
Here, I want to find the max and Min. no within a series. But may be there is any mistake. Please fix it and guide me.
/* The Program is to print the Factorial of N given No.s */
#include<stdio.h>
#include<conio.h>
void main()
{
int N,c=1,max=0,min=0,num;
printf("Enter the No. of terms: \n");
scanf("%d",&N);...
What rectification I have to make in line#29?
#include<stdio.h>
#include<conio.h>
int main()
{
float a,b,c;
int cho;
printf("Enter The two No.s: ");
scanf("%f%f",&a,&b);
printf("1.Addition\n");
printf("2.Subtraction\n");
Sir,on last 2nd &3rd February My First workshop on life is over.The workshop was on Robotics with Embedded C, I have Mentioned you previously that. You tell me where is the use of while(1) ? In the...
Ok Sir, I am searching microcontroller tutorial on Google . You also Keep me updated on this.
Actually Sir, I am studying B.Tech 1st year. on the next 2-3 Feb,2016 IIT,Delhi has organised a workshop on "Robotics with Embedded C". I am participating in that. I want to have a vast knowledge on...
Well Sir, I try to learn it. If I have any trouble , guide me please.
Show me some sample codes with Embedded C.
Provide me a sample code, Hodor Sir.
Sir, Explain me on Embedded C. What is the purpose of using it?
Is it like the conventional c syntax(s) we use? I am really keen to know it.
What I have to do here to print the no.s between 1 & 500. Here, I will not have to check whether a no. is Armstrong no.or not.
#include<stdio.h>
main()
{
int x,y,z,i,p;
printf("Enter the value of x,y,z:\n");
scanf("\n%d%d%d",&x,&y,&z");
clrscr();
for(i=1;i<=500;i++)
{
i=(100*x)+(10*y)+z;
I want just make me understand the uses as my guide.
Sir, I want to what the uses of Break statement and Continue statement are.
14558
This is the problem I am facing that in the place of summation there are coming negative no.s from 5th term. Look there my friends.
probably, the negative no. is coming from 6th term.I have written 5th term mistakenly. Look from 6th term.
Okk laserlight ..the %d is for i and the %ld is for sum...now i have understood..
But now also..from the 5th term i am getting negative no. fix that please.
Laserlight, here in the code: printf("The summation of %d terms is : %ld\n", i, sum);
Why there is the term "i" before sum?
#include<stdio.h>
#include<math.h>
#include<conio.h>
int main()
{
int i,n,T,P=0;
long int sum=0;
printf("\n Enter the no. of terms to be entered:%d");
scanf("\n%d",&n);
#include<stdio.h>
#include<stdlib.h>
#include<conio.h>
int main()
{
int i,n,T,P=0,sum=0;
printf("\n Enter the no. of terms to be entered:%d");
scanf("\n%d",&n);
#include<stdio.h>
#include<stdlib.h>
int main()
{
int i,j=5,n,result=0;
printf("Enter the term of the series");
scanf("\n%d",&n);
while(j<=n)
{
j=j*10+5;
Yaaa, now i am clear about the pseudocode..