Saturday, April 13, 2019

Program to convert Celsius to Fahrenheit in Language C

WELCOME BACK TO codejunction.in , hope you are having a good day.



IN THIS PROGRAM WE WILL CALCULATE THE FAHRENHEIT BY ENTERING CELSIUS.



CODE


#include <stdio.h> int main() { float celsius, fahrenheit; printf("Enter temperature in Celsius: "); scanf("%f", &celsius); fahrenheit = (celsius * 9 / 5) + 32;
printf("%f Celsius=%f Fahrenheit",celsius,fahrenheit);
return 0; }


OUTPUT

Program to find PRIME NUMBERS IN Language C

WELCOME BACK TO codejunction.in , hope you are having a pleasant day. 


IN THIS PROGRAM THE USER NEEDS TO ENTER A NUMBER AND THE PROGRAM WILL PRINT ALL PRIME NUMBERS TILL THAT NUMBER.


CODE

#include<stdio.h>
void main()
{
    int n,i,fact,j;
    printf("Enter the Number");
    scanf("%d",&n);
    printf("Prime Numbers are: \n");
    for(i=1; i<=n; i++)
    {
        fact=0;
        for(j=1; j<=n; j++)
        {
            if(i%j==0)
                fact++;
        }
        if(fact==2)
            printf("%d " ,i);
    }
    getch();
}

OUTPUT



Program to find FACTORIAL OF A NUMBER in Language C

WELCOME BACK CODERS, hope you are enjoying our blogs

have a good day.


IN THIS PROGRAM THE USER NEEDS TO INPUT A NUMBER AND ITS FACTORIAL WILL BE PRINTED.


CODE


#include <stdio.h>
int main()
{
int c, n, fact = 1;
printf("Enter a number to calculate its factorial\n");
scanf("%d", &n);
for (c = 1; c <= n; c++)
fact = fact * c;


printf("\n Factorial=%d ",fact);
return 0;
}


OUTPUT



Saturday, April 6, 2019

UN Security Council panel finds Cosmos Bank cyber attack motivated by N Korea

MUMBAI: A panel of experts appointed by the UN Security Council has stated that the cyber attacks on Pune-based Cosmos Cooperative Bank, from which hackers allegedly withdrew Rs 94 crore from ATMs in 28 countries, was “motivated” by North Korea. 

The panel was set up to study various UN sanctions breached by North Korea. Its report comes nearly seven months after the malware attack on the bank. 

“The panel notes a trend in the Democratic People’s Republic of Korea’s evasion ..

hacker

The Pune Police and the Maharashtra Cyber Cell probing the case are yet to trace the mastermind in the case. So far, 12 people have been arrested by a special investigation team of the Pune Police. Sources said the local module busted by the police could be “money mules” — people who serve as intermediaries for criminals and criminal organisations — acting on behalf of operators abroad. 
1

“The case involves Rs 14 crore that was transferred to a Hong Kong bank by compromising the SWIFT system (of the bank) and the remaining Rs 80 crore that was withdrawn using ATMs in which malware attack was on the switch through which the payment gateways of Visa and Rupay debit cards operate,” said a senior official from the Maharashtra Police, who spoke on the condition of anonymity. “Those arrested are people who operated the ATMs and include an Indian coordinator. We are now trying to probe  .. 

In its 378-page report published earlier this month, the committee elaborated on how the Cosmos Bank systems were hacked into. “The attack was a more advanced... and highly coordinated operation that bypassed three main layers of defence contained in International Criminal Police Organization (INTERPOL) banking/ ATM attack mitigation guidance,” the report, seen by ET, reads. “Not only were the actors able to compromise the SWIFT network...to transfer the funds to other accounts, but they simulta .. 

PUBG MOBILE FIRST ANNIVERSARY EVENT FEATURES A NEW SONG FROM ALAN WALKER

PUBG MOBILE to Feature Alan Walker’s New Single “On My Way “and Host One of the World’s Biggest Mobile Gaming Tournament In celebratio...