#include
#include
#include
#include
使用命名空间std;
作废双时间(双L、双P双G)
voidmain)
{
setlocale(LC_ALL-Pendulum.cpp-文件处理 - IMDN开发者社群-imdn.cn" />
#include#include#include#include使用命名空间std;作废双时间(双L、双P双G)voidmain){setlocale(LC_ALL,"RUS");双L,T;双P=3.14;//КОНСТАНТА双G=9.8;//КОНСТАНТА//ДЛЯЗАДАННЫХЗНАЧЕНИЙL=100;T=time(L,P,G);cout«"ВремяколебанийприL="«L«"равно:"«T;_getch();//ДЛЯЗНАЧЕНИЙВВОДИМЫХСКЛАВИАТУРЫsystem("cls");cout«"DведитеL=";cin»L;T=time(L,P,G);cout«"ВремяколебанийприL="«L«"равно:"«T;_getch();返回0;}作废双时间(双L、双P双G){双M;双P=3.14;//КОНСТАНТА双G=9.8;//КОНСТАНТАM=2*P*sqrt(L/G);//ПЕРИОДКОЛЕБАНИЙ返回M;}-IMDN开发者社群-imdn.cn">
#include#include#include#include使用命名空间std;作废双时间(双L、双P双G)voidmain){setlocale(LC_ALL,"RUS");双L,T;双P=3.14;//КОНСТАНТА双G=9.8;//КОНСТАНТА//ДЛЯЗАДАННЫХЗНАЧЕНИЙL=100;T=time(L,P,G);cout«"ВремяколебанийприL="«L«"равно:"«T;_getch();//ДЛЯЗНАЧЕНИЙВВОДИМЫХСКЛАВИАТУРЫsystem("cls");cout«"DведитеL=";cin»L;T=time(L,P,G);cout«"ВремяколебанийприL="«L«"равно:"«T;_getch();返回0;}作废双时间(双L、双P双G){双M;双P=3.14;//КОНСТАНТА双G=9.8;//КОНСТАНТАM=2*P*sqrt(L/G);//ПЕРИОДКОЛЕБАНИЙ返回M;} - IMDN开发者社群-imdn.cn">
于 2022-03-13 发布
文件大小:2.46 kB
0 177
#include"stdafx.h"
#include < iostream >
#include < conio.h >
#include < locale.h >
#include < stdio.h >
#include < math.h >
使用命名空间 std ;
作废双时间 (双 L、 双 P 双 G)
void main)
{
setlocale (LC_ALL,"RUS") ;
双 L,T;
双 P = 3.14 ;/ / КОНСТАНТА
双 G = 9.8 ;/ / КОНСТАНТА
//ДЛЯ ЗАДАННЫХ ЗНАЧЕНИЙ
L = 100 ;
T=time(L,P,G) ;
cout «"Время колебаний при L ="«L «"равно:"«T;
_getch() ;
//ДЛЯ ЗНАЧЕНИЙ ВВОДИМЫХ С КЛАВИАТУРЫ
system("cls") ;
cout «"Dведите L =";
cin» L;
T=time(L,P,G) ;
cout «"Время колебаний при L ="«L «"равно:"«T;
_getch() ;
返回 0 ;
}
作废双时间 (双 L、 双 P 双 G)
{
双 M;
双 P = 3.14 ;/ / КОНСТАНТА
双 G = 9.8 ;/ / КОНСТАНТА
M=2*P*sqrt(L/G) ;/ / ПЕРИОД КОЛЕБАНИЙ
返回 M;
}
下载说明:请别用迅雷下载,失败请重下,重下不扣分!
一个用vc开发的小程序,写文 件 ,采用面向对象的设计思想,还是不错的...
一个用vc开发的小程序,写文件,采用面向对象的设计思想,还是不错的
2023-05-02 20:45:03下载
积分:1
对文 件 进行加密动作,在WINDOWS系统上所有的文 件 都可以
对文件进行加密动作,在WINDOWS系统上所有的文件都可以-wenjianjiami
2023-01-01 16:35:12下载
积分:1
vb 宾馆信息管理 系统 整个系统 免费下载
vb 宾馆信息管理系统 整个系统 免费下载-vb Hotels information management system throughout the system for free download
2022-05-22 22:15:33下载
积分:1
对选定目录下指定后缀文 件 进行批量顺序重命名,可以制定倒序或顺序。...
对选定目录下指定后缀文件进行批量顺序重命名,可以制定倒序或顺序。-Directory of selected documents designated suffix rename bulk order may be developed or reverse the order.
2022-05-21 05:42:35下载
积分:1
This is my company to do an initial software, its function is to achieve : the d...
这是我为公司做的一个初步软件,其实现功能是:在指定的文件夹下生成缺少的ini文件(对应wma音乐文件),并且在TreeView控件中显示文件名,点击可以进行编辑,修改-This is my company to do an initial software, its function is to achieve : the designated folder generation indispensable ini file (for WMA music files), and the TreeView control display of file names, it can edit, modify, etc.
2023-03-01 00:10:03下载
积分:1
This is the company which I do a document data recording function module part. C...
这是我公司里面做的一个文件数据记录模块功能的一部分。压缩包里面有设计文档,大家可以参考下。-This is the company which I do a document data recording function module part. Compressed with a design document, we can refer to the next.
2022-03-12 01:23:34下载
积分:1
VB2005 a used copy of the document prepared by the time the date and then a smal...
一个用VB2005编写的文件拷贝并用时间日期随即命名的小程序-VB2005 a used copy of the document prepared by the time the date and then a small program named
2022-06-18 02:46:23下载
积分:1
文 件 读取存入数据库中
可进行文 件 夹的无限深度遍历
文件读取存入数据库中
可进行文件夹的无限深度遍历-Documents read into the database folder can traverse the infinite depth
2022-03-05 10:25:53下载
积分:1
Fastcopy源代码
fastcopy source code -fastcopy source code
2023-01-31 05:45:03下载
积分:1
程序来完成这个小的主要功能是实现传统的圣..
这个小程序主要完成的功能是实现传统风格和windows 2000风格文件的打开,比较一下,你会发现2000风格打开的文件界面操作会更加简单方便!-Procedures to complete this small main function is to realize the traditional style and windows 2000 style file open, compare, you will find 2000 to open a document style interface operation will be more simple and convenient!
2022-02-25 10:35:42下载
积分:1