Tuesday, 11 September 2018

What are the New Tags In HTML 5


HTML 5, Introduces some new tags, which is as follows. 
What are the New Tags In HTML 5


New Tags In HTML 5

<footer>

Defines a footer for a document or section

<header>

Defines a header for a document or section

<article>

Defines an article in a document

<aside>

Defines content aside from the page content

<details>

Defines additional details that the user can view or hide

<dialog>

Defines a dialog box or window

<figcaption>

Defines a caption for a <figure> element

<figure>

Defines self-contained content


<main>

Defines the main content of a document

<mark>

Defines marked/highlighted text

<meter>

Defines a scalar measurement within a known range (a gauge)

<nav>

Defines navigation links

<progress>

Represents the progress of a task

<rp>

Defines what to show in browsers that do not support ruby annotations

<section>

Defines a section in a document

<summary>

Defines a visible heading for a <details> element

<time>

Defines a date/time

<video>     
Defines a video file.

Monday, 3 September 2018

What Is Difference Between Saving and current Bank Account ?

What Is Difference Between Saving and current Bank Account ?

What Is Difference Between Saving and current Bank Account ?

This is Most important general question that's come in our mind frequently. we all are the connected with banking system. In banks there are various types of accounts are available. but the most popular accounts are only two, that is saving bank account and current bank account. But do you know what is the difference between saving and current bank account ? lets see-

difference between saving and current bank account.


Saving bank account
Current bank account
As name given this account is basically made for saving your money.
 
This account is made for the purpose of making frequent transitions.
You can earn more interest rate on your deposited money than current bank account.
 
There is no interest rate on your deposited money or very less interest rate.

Restriction of keeping minimum balance in account is very less as compared to current account. (it may also have zero balance accounts also.)
Minimum balance restriction in account is much higher than saving account.
There are restrictions on how many times deposits in account in specific period of time.
 
There are no restrictions on how many times deposits in account in specific period of time. You can deposit money any number of times.
 

It has also restrictions on withdraws of money.
There are no restrictions on withdrawals of money from current account.
Saving bank accounts having limit on no of transitions.
 
There is no limit
On no of transitions.
This account is suitable for general persons to save their earning in bank.
 
This account is suitable for businessman.

Saturday, 18 August 2018

What Is Difference Between Save and Save As ?

What Is Difference Between Save and Save As ?

What Is Difference Between Save and Save As ?


Hello friends, in this post we are going to see the difference between save and save as. this is very little thing but many of us didn't know the actual difference between the save and save as. so lets see-

difference between save and save as

When we write any document or file,in the file menu typically you will see the two options, that is save and save as. lets see when when should you use save and save as-

when you write any document and you want save it first time then, you can save it by using both options "SAVE" and "SAVE AS". both options will save your document.

when you made any changes in the document or add some text in your document, then for saving it you should use "SAVE" option.

when you want to make  a copy of any saved document or currently opened document then choose the option "SAVE AS" and give another name to it. it will create a copy of that file with another name.

hope you understand the difference between save and save as options, still if you have any problem you can ask us through comment box.


Factorial Program In C

Factorial Program In C

Factorial Program In C

Before going to see factorial program in c we will see what is the factorial means. lets see what is concept of factorial number-

What is a Factorial Number

factorial number is nothing but the multiplication of all smaller  numbers of that particular number including itself. for better understanding see the following example-

if we want to ascertain 5!(factorial of 5) then,

5!=5*4*3*2*1

means 5!=120.(factorial of 5 is 120)

(note: factorial is denoted by '!' mark.)

we can write factorial program using many ways ,but here we will see the programs using for loop,while loop and c factorial program using function recursion.

c factorial Program : Using For loop


#include<stdio.h>
void main() 

 int num,i;
int fact=1; 
 printf("Enter a number To Find Out Factorial: "); 
  scanf("%d",&num); 
    for(i=1;i<=num;i++){ 
      fact=fact*i; 
  } 
  printf("The Factorial of %d is: %d",num,fact); 
getch();

Output:

Enter a number To Find Out Factorial: 4
The Factorial of 5 is: 24

C Factorial Program: Using While Loop

#include<stdio.h>
# include<conio.h>
void main()
{
 int num,fact=1,copyno=0;
 printf("Enter Number To Findout Factorial:");
 scanf("%d",&num);
 copyno=num;
 while(num>0)
 {
  fact=fact*num;
  num--;
 }

 printf("Factorial of %d is:%d",copyno,fact);
 getch();
}

Output:

Enter Number To Findout Factorial:3
Factorial of 3 is :6

C Factorial Program : Using Function Recursion


#include<stdio.h>

long fact(int n)
{
  if (num == 0)
    return 1;
  else
    return(num * factorial(num-1));
}
 
void main()
{
  int num;
  long factNum;
  printf("Enter a number To Find Out Factorial: ");
  scanf("%d", &num); 
 
  factNum = fact(num);
  printf("Factorial of %d is %ld\n", num, factNum);
  getch();

Output:

Enter a number To Find Out Factorial: 5
Factorial of 5 is: 120

Wednesday, 15 August 2018

How to fix Epson Horizontal Line Problem in Print


How to fix Epson L565, L210, L130, L220, L310, L360, and L380 L365 lines on printing
How to fix Epson Horizontal Line Problem in Print

Epson is one of the best all in one ink jet printer. But every ink jet printer have some common printing problem.

When printing colored documents or black and white document, there are horizontal bandings, lines on the print. Then how to fix this problem?
If you are facing same problem then follow the given steps to solve your problem.

How to fix Epson Horizontal Line Problem
This tutorial is helpful for Epson every model like L380, L360, L365 etc.
Whenever you print a page, print have horizontal lines on it. Then first solution is:

1. Run a Nozzle Check:
Run a nozzle check then you can see the actual problem which is shown in the following image.
How to run nozzle check
Open devices and printers -> Right click on Printer then click on printing preferences -> Click on Maintenance tab -> after that print the nozzle pattern.
nozzle check epson printer

If lines pattern are not good which is show in the following image 
Run a Nozzle Check

then we have to do head cleaning.

2. Head Cleaning:
How to do head cleaning
Open devices and printers -> Right click on Printer then click on printing preferences -> Click on Maintenance tab -> click on head cleaning.
It will take 1-2 minute for head cleaning process after head cleaning print the page and see, horizontal line problem has been solved successfully.


Sunday, 12 August 2018

How To Create Table In SQL Server

Create Table In SQL Server

Create table In SQL Server
Create table In SQL Server


Friends in previous post we learned about how to create database in SQL server using SQL Query and using GUI. in this post we are going to learn how to create table in SQL Server.like a database you can also create table using two different methods in SQL Server, using SQL Query and using GUI. lets see-

Create Table In SQL Server Using SQL Query

Open SQL server management studio.

Then select on "New Query" Option, or simply press the shortcut key "Cttrl + N".

then select your database in which you want to create table. to select specific database type following SQL Query

syntax:

use database_name   

(Note: in place of database_name type your database name in which you want to create a new table.)
 
for ex. use students

after executing above command you will see the your database name in available database name in box.

now to create table type following command

syntax:

create table table_name
( coluumn name  datatype(size),
  coluumn name  datatype(size),
   .
   .
   .
   coluumn name  datatype(size)
)


for Example

create table class2
( sr_no int,
  stu_name varchar(10),
  stu_age  int
)


that's done your table will be created in your selected database.


Create Table In SQL Server Using GUI

you can also create table in SQL server using GUI. lets see-


Open the SQL Server management studio


Then Expand the database option available on left hand side.





you will see the list of available databases. now expand database in which you want to create table.



Now you will see the "Table" option right click on it



select "Table" from drop down. 


now a table format will be open look like this-




fill the information column name,datatype and allow null as you want.


you can also change the table properties from properties window available  at right side.



Then press CTRL + S  to save the table. if you didn't give name for your table it will ask for table name. type table name and press OK. that's done your table is ready.


if you still have any problem please ask us through the comment box.

Saturday, 11 August 2018

How to Create SQL Database

How To Create SQL Database?

create SQL Database
create SQL Database


SQL is an very simple query language. creating SQL database is a basic and very simple  but important task in the SQL. In this post we are going to learn how to create SQL database using the SQL Query and also using GUI. lets see -

Create SQL database using SQL Query

To create SQL database using SQL Query first open the SQL server management studio.

Then in SQL server management studio click on "New Query" option shown below the menu bar or simply you can use shortcut key " ctrl + N ".

It will open the work area for executing SQL Queries.

Type following SQL commmand 

create database YourDatabaseName

(Note: Type your database name in place of " yourDatabaseName".)

Then select this command

Click on "Execute" option or simply use "F5" key to execute command.

It will create database for you.


Create SQL database using GUI


SQL server management studio aslo provide Graphical User Interface  to create databse. see-

Open the Sql server management studio

Now you will see the Database option on left hand side






Now right click on "Database" option, you will see " New database" option, click on that




New  New window will open, in that type the database name that you want give to your new database



 And click "ok". it will create database for you. you can see database under the database option



That's done. your database is created successfully.

Still if you have any problem you can feel free to ask your problem through the comment box,we will help you.

Thursday, 9 August 2018

C Prime Number Program

C Prime Number Program

C Prime Number Program
C Prime Number Program

In this post we are going to see  c prime number program. in which we will see how to check where given number is prime number or not a prime number through a very simple logic in c prime number program.
  
Before that for your better understanding we will see what is prime number means-

what is prime number?

"prime number is nothing but the number which can be divisible by only '1' and 'itself number' only."

means a number which cant be decide  by any other number other than 1 and itself number.

for example: suppose 5 is a number. 5 can be only divisible by 1 and 5, so that it is prime number. take another number 6, 6 can be divisible by 1,2,3 and 6, so that it is not a prime number.

hope you understand logic of prime number. lets see how to write c  prime number program.

c prime number program 


#include<stdio.h>
# include<conio.h>
void main()
{
  clrscr();
  int num=0,count=0,i=0;
  printf("Enter any number to check where it is prime or not:");
  scanf("%d",&num);
  for(i=1;i<=num;i++)
  {
   if(num%i==0)
   count=count+1;
   }
   if(count==2)
   {
   printf("Entered Number is a Prime Number");
   }
   else
   {
   printf("Entered Number is Not a Prime Number");
   }
   getch();

}

Output:


Enter any number to check where it is prime or not: 5
Entered Number is a Prime Number

hope you have understand the prime number program in c. if you have still any concern about it you can fill free to ask in comment box.