How to connect two PC to enable file sharing b/w them.
Solution
Using crossover Ethernet cable connect both PCs via the (RJ45) port.PC - 1:
- Open My Computer > Properties > Computer Name.
- Change Computer Name to A and Workgroup name to ABC then click OK to save changes.
- Open Control Panel > Network Connections.
- Right click your LAN connection and select Properties.
- Select Internet Protocol (TCP/IP) > Properties.
- Enter those values:
- IP Address - 192.168.0.1
- Subnet Mask - 255.255.255.0
- Leave other fields blank then click OK to save changes.
PC - 2:
- Open My Computer > Properties > Computer Name.
- Change Computer Name to B and Workgroup name to ABC and click OK to save changes.
- Go to Control Panel > Network Connections.
- Right click on your LAN connection and select Properties.
- Select Internet Protocol (TCP/IP) > Properties.
- Enter the following values:
- IP Address - 192.168.0.2
- Subnet Mask - 255.255.255.0
- Leave other fields blank and click OK to save changes.
- IP Address - 192.168.0.2
- Subnet Mask - 255.255.255.0
3 comments
Click here for commentsAwsme Blog.........
ReplyThankuuu =D
Reply#include
Replyint main()
{
long int num,sum,r;
printf("\nEnter a number:-");
scanf("%ld",&num);
while(num>10)
{
sum=0;
while(num)
{
r=num%10;
num=num/10;
sum+=r;
}
if(sum>10)
num=sum;
else
break;
}
printf("\nSum of the digits in single digit is: %ld",sum);
return 0;
}
Output:
Enter a number: 459
Sum of the digits in single digits: 9 (4+5+9= 18, 1+8=9)
ConversionConversion EmoticonEmoticon