- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 3
- Posts with Downvotes
- 3
- Downvoting Members
- 2
15 Posted Topics
Hi, I would like to print the table of a number entered by the user like 2 *1=2 2*2=4 2*3=6 The code is [code=c]#include<stdio.h> #include<conio.h> main() { int i,num; printf("Enter any number"); scanf("%d",&num); for(i=1;i<=num;i++) printf("%d*%d=%d",num,i,num*i); getch(); }[/code] But this code is generating errors. | |
Hi, I would like to print star pattern in the following way - **** *** ** * main() int i; clrscr(); for(i=4;i<=4;i++) { printf("*"); getch(); } It prints starts like **** I don't know how to complete the program. Can anyone please do the complete program for this so that … | |
Hi, This has been discussed ealier, but i would like to know how the loop executes 1. #include<stdio.h> 2. #include<conio.h> 3. void main() 4. { 5. int x,y,z; 6. scanf("%d",&x); 7. if(x>0) 8. { 9. y=x/10; 10 z=x%10; 11. x=y; 12. printf("%d",z); 13. } 14. printf("%d",x); 15. } Suppose I … | |
I want to write a C program to test whether the character is uppercase, lowercase, digit or special symbol. [code=c] void main () { char ch; printf("\n Enter any character from the keyborad"); scanf("%c",&ch); if (ch>=65&&ch<=90) printf(" \n the character is uppercase); if(ch>=91&&ch>=122) printf(" \n the character is lowercase); if(ch>=48&&ch<=57) … | |
Hi, I don't understand the if statement here. Can anyone explain how the execution of if loop will proceed. Why are we using || and && operators here. #include<stdio.h> void main { int year; printf("Enter the year: "); scanf("%d",&year); if(year%400 ==0 || (year%100 != 0 && year%4 == 0)) { … | |
Please tell what is meant by website structure optimization and what are the steps I need to take to ensure that website structure is optimized Thanks | |
I am a beginner in c and would like someone tp help me . My question is why I have to write void before main to execute the c program. #include<stdio.h> void main() clrscr(); { printf("Hello") } This is a very simple program. But I am unable to execute it … | |
To convert 1310 to binary, the steps are as follows: 13/2 = 6 remainder 1 6/2 = 3 remainder 0 3/2 = 1 remainder 1 1/2 = 0 remainder 1 I didn't understand the last step. How can 1/2=0 . It should be 0.5 And how can remainder be 1. … | |
The pagerank is shared equally among all the links on a page. But how much ? Is it correct ? “Share” – PR of a [B]website[/B] linking to yours/ outbound links on that page(outgoing links) I think it should be “Share” – PR of a [B]webpage[/B] linking to yours/ outbound … | |
Does Google looks at IP address of backlinking sites. Does it matter if all the links to a site come from same IP address. How much weight is given to this factor in backlinks. Has there been any official word from Google or matt cutts. If yes, please quote the … | |
Hi, I need to urgently remove a url from bing. I have inserted the robots.txt file as below - User-agent:msnbot Disallow: / Even after 10 days, the url is still listed in Bing. Is there any removal url link from bing. | |
Hi, I would like to know what is the difference between bing search engine and live. Thanks | |
Hi, Lets say I insert two links on one page ( page1) of my site pointing to another page of my site ( page 2), with different anchor text. Does Google count two links to page 2 from page 1 or just a single link ? | |
Hi, I would like to know that if I hyperlink a image to another page, would this be counted as a backlink by Google ? | |
Hi Everyone, I want to exclude all files except one in robots.txt file. All my files in temp folder. The one file I want to allow is abc.html Can oneone please point out how to go about it. |
The End.