C Program example to Find Quotient and Remainder

C Program example to Find Quotient and Remainder #include<stdio.h> int main() { printf(“\n\n\t\tEduguru – C prgram example\n\n\n”); int c, d, n, a[100], b[100]; printf(“\n\nEnter number of elements in array :”); scanf(“%d”, &n); printf(“\n\nEnter %d elements\n”, n); for(c = 0; c < n; c++) scanf(“%d”, &a[c]); /* temporarily storing elements into array b starting from end … Read more

C Program to find the Sum of First n Natural numbers using for loop

C Program to find the Sum of First n Natural numbers

C Program to find the Sum of First n Natural numbers using for loop   #include <stdio.h> int main() { int n, count, sum = 0; printf(“Enter the value of n(positive integer): “); scanf(“%d”,&n); for(count=1; count <= n; count++) { sum = sum + count; } printf(“Sum of first %d natural numbers is: %d”,n, sum); … Read more

C Program to print the Multiplication Table of any Number

multiplication table program in c

C Program to print the Multiplication Table of any Number #include<stdio.h> int main() { printf(“\n\n\t\tEduguru – C Program Example\n\n\n”); int n,i; printf(“Enter an integer you need to print the table of: “); scanf(“%d”, &n); printf(“\n\n\n”); for(i = 1; i <= 10; i++) { printf(“\n\t\t\t%d * %d = %d \n”, n, i, n*i); } printf(“\n\n\n\n\t\t\tAll Done … Read more

Program to check if input Number is int or float

Program to check if input Number is int or float #include<stdio.h> #include<conio.h> #include<string.h> int main() { printf(“\n\n\t\tEduguru – C Program example\n\n\n”); char number[10]; int flag = 0; int length, i = 0; printf(“\n\nEnter a number: “); scanf(“%s”, number); length = strlen(number); // till string does not end while(number[i++] != ‘\0’) // same as while(length–>0) { … Read more

Configuring E-Mail Protection

Because e-mail is one of the chief means of transporting viruses, most antivirus programs have options that help them work with your e-mail program. This only applies when you are using a “local” e-mail program to read and send mail, and not when you are using a Web browser to handle your mail. The options … Read more

Configuring Instant Messaging Protection

As instant messaging (IM) rises in popularity, it has become the new way for viruses to jump from computer to computer. Consequently, it would be nice if your antivirus program was aware of your IM activity so it could watch for any suspicious activity indicative of a virus. Configuration for IM in your antivirus program … Read more

Configuring Automatic Protection

Most antivirus programs operate in two primary modes:  They’re used to “scan” your entire computer (or a part of it) for viruses that may already be present there.  They’re used to actively monitor your computer’s activities — in particular, that part of Windows that controls the creating, opening, and closing of computer files … Read more

Understanding Antivirus Software

Before I explain what antivirus software is, it’s worth reviewing the nature of software in general. Understanding software doesn’t mean you have to write computer programs or wear a hat with a propeller on top. The fact is that the word software is at the heart of viruses and the defenses against them. Knowing some … Read more

SVG Ellipse – example

SVG Ellipse

SVG Ellipse – <ellipse> example <!DOCTYPE html> <html> <body> <svg height=”150″ width=”500″> <ellipse cx=”240″ cy=”100″ rx=”220″ ry=”30″ style=”fill:purple” /> <ellipse cx=”220″ cy=”70″ rx=”190″ ry=”20″ style=”fill:lime” /> <ellipse cx=”210″ cy=”45″ rx=”170″ ry=”15″ style=”fill:yellow” /> Sorry, your browser does not support inline SVG. </svg> </body> </html>   Output:   Example 2:  <!DOCTYPE html> <html> <body> <svg height=”100″ … Read more