#include <stdio.h>
void main( )
{
int x;
float Kinetic_energy;
float mass;
float velocity;
float I;
float P;
float R;
printf ( "\n any number goto Kinetic energy program" ) ; printf ( "\n number 0 exit program" ) ; if ( x!= 0 )
{
printf ( "\n welcome to Kinetic energy program" ) ; printf ( "\n Input velocity : " ) ;
Kinetic_energy = 0.5 * ( mass* velocity* velocity) ;
printf ( "\n Kinetic energy = %f" , Kinetic_energy
) ; }
else
{
printf ( "\n welcome to Sound intensity program" ) ;
I = P/ 4 * 3.14 * ( R* R) ;
}
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgoKdm9pZCBtYWluKCkKewogICAgaW50IHg7CiAgICBmbG9hdCBLaW5ldGljX2VuZXJneTsKICAgIGZsb2F0IG1hc3M7CiAgICBmbG9hdCB2ZWxvY2l0eTsKICAgIGZsb2F0IEk7CiAgICBmbG9hdCBQOwogICAgZmxvYXQgUjsKICAgIHByaW50ZigiXG5hbnkgbnVtYmVyIGdvdG8gS2luZXRpYyBlbmVyZ3kgcHJvZ3JhbSIpOwogICAgcHJpbnRmKCJcbm51bWJlciAwIGV4aXQgcHJvZ3JhbSIpOwogICAgcHJpbnRmKCJJbnB1dCBudW1iZXIgOiAiKTsKICAgIHNjYW5mKCIlZCIsJngpOwogICAgaWYoeCE9MCkKICAgIHsKICAgICBwcmludGYoIlxud2VsY29tZSB0byBLaW5ldGljIGVuZXJneSBwcm9ncmFtIik7CiAgICAgcHJpbnRmKCJcbklucHV0IG1hc3MgOiAiKTsKICAgICBzY2FuZigiJWYiLCZtYXNzKTsKICAgICBwcmludGYoIlxuSW5wdXQgdmVsb2NpdHkgOiAiKTsKICAgICBzY2FuZigiJWYiLCZ2ZWxvY2l0eSk7CiAgICAgCiAgICAgS2luZXRpY19lbmVyZ3kgPSAwLjUqKG1hc3MqdmVsb2NpdHkqdmVsb2NpdHkpOwogICAgIHByaW50ZigiXG5LaW5ldGljIGVuZXJneSA9ICVmIixLaW5ldGljX2VuZXJneSk7IAogICAgfQogICAgZWxz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