187 miles taking this route:Take A2 BELFAST, from Bangor, to M1 DUBLIN, in Belfast.Take M1 to A1 to The SOUTH to DUBLIN at J8.Take A1 to IRELAND, where the road becomes N1.Take N1 & M1 (S) to DUBLIN PORT. Follow signs.Once you are at DUBLIN PORT, take a FERRY to HOLYHEAD, NORTH WALES, U.K.
About 10 miles taking this route:EXIT the airport, and follow signs to M1 towards DUBLIN CITY CENTRE. Follow signs to the CITY CENTRE.Take the motorway to N1 to CITY CENTRE at J1.Take N1 to DRUMCONDRA.
n1= 25 n2= n1+1 n3= n1-1 n4=n1+2 n5=n1-2
#include<stdio.h> int main(){ int n1,n2; printf("\nEnter two numbers:"); scanf("%d %d",&n1,&n2); while(n1!=n2){ if(n1>=n2) n1=n1-n2; else n2=n2-n1; } printf("\nGCD=%d",n1); return 0; }
P(x=n1,y=n2) = (n!/n1!*n2!*(n-n1-n2)) * p1^n1*p2^n2*(1-p1-p2) where n1,n2=0,1,2,....n n1+n2<=n
The N1 is a rocket.
196 miles in total (22 driving miles from Bangor to Holyhead ; 70 ferry miles from Holyhead to Dublin ; 104 driving miles from Dublin to Holyhead)Take A55 HOLYHEAD from Bangor to HOLYHEAD, where you will board a FERRY (toll) from Holyhead to DUBLIN, Republic of IRELAND.Take a FERRY (toll) from HOLYHEAD, U.K. into DUBLIN, REPUBLIC of IRELAND; the ferry is operated by STENA LINES.Once you are in Dublin, you will follow signs to the PORT EXIT; once you are out of the port, you will follow signs to M50 (M1) to the TOLLED TUNNEL.Follow M1 & N1 to to the NORTH from Dublin to NORTHERN IRELAND, U.K, where N1 continues as A1.Continue on A1 to M1 to BELFAST; follow signs to M1 to the NORTH to BELFAST.Take M1 to the NORTH to Belfast.For more information on the HOLYHEAD-DUBLIN FERRY, visit: http://www.stenaline.co.uk/ferry/
#include<stdio.h> int main(){ int n1,n2; printf("\nEnter two numbers:"); scanf("%d %d",&n1,&n2); while(n1!=n2){ if(n1>=n2-1) n1=n1-n2; else n2=n2-n1; } printf("\nGCD=%d",n1); return 0; }
the value of the exponent n1
the value of the exponent n1
void main() { int i; float n1,n2; abc: printf("Enter two nos "); scanf("%f%f",&n1,&n2); printf("\n %f + %f = %f " ,n1,n2,n1+n2); printf("\n %f - %f = %f " ,n1,n2,n1-n2); printf("\n %f x %f = %f " ,n1,n2,n1*n2); printf("\n %f / %f = %f " ,n1,n2,n1/n2); printf("\npress 5 to make another calculation"); scanf("%d",&i); if (i==5) goto abc; }
The sum of the first 10 positive integers, using the formula N1 + (N1 + 1) + ... + N2 = N2 * (N2 + 1) / 2 - (N1 - 1) * N1 / 2 is: 55